{% block article_nav %} {%- if page and (page.next_page or page.previous_page) %} {# Workaround to keep mkdocs 0.17 working for now, which has no 'url' filter. #} {% if mkdocs_version >= "1" %} {% from "page-nav-urls.html" import next_page, prev_page with context %} {% else %} {% set next_page = page.next_page.url %} {% set prev_page = page.previous_page.url %} {% endif %}
{%- endif %} {% endblock %}