1 {% block article_nav %}
2 {%- if page and (page.next_page or page.previous_page) %}
4 {# Workaround to keep mkdocs 0.17 working for now, which has no 'url' filter. #}
5 {% if mkdocs_version >= "1" %}
6 {% from "page-nav-urls.html" import next_page, prev_page with context %}
8 {% set next_page = page.next_page.url %}
9 {% set prev_page = page.previous_page.url %}
12 <div class="row wm-article-nav-buttons" role="navigation" aria-label="navigation">
13 {% if page.next_page %}
14 <div class="wm-article-nav pull-right">
15 <a href="{{ next_page }}" class="btn btn-xs btn-default pull-right">
17 <i class="fa fa-chevron-right" aria-hidden="true"></i>
19 <a href="{{ next_page }}" class="btn btn-xs btn-link">
20 {{ page.next_page.title }}
25 {%- if page.previous_page %}
26 <div class="wm-article-nav">
27 <a href="{{ prev_page }}" class="btn btn-xs btn-default pull-left">
28 <i class="fa fa-chevron-left" aria-hidden="true"></i>
29 Previous</a><a href="{{ prev_page }}" class="btn btn-xs btn-link">
30 {{ page.previous_page.title }}