on master help sign in
add docs pagination
3720edfMatilde Park
templates/doc.html+2
@@ -17,5 +17,7 @@
17 <h1>{{ page.title }}</h1>
17 <h1>{{ page.title }}</h1>
18 <!-- body -->
18 <!-- body -->
19 {{ page.content | safe }}
19 {{ page.content | safe }}
20+
21+ {% include "partials/pagination-docs.html" %}
20</article>
22</article>
21{% endblock content %}
23{% endblock content %}
templates/partials/pagination-docs.htmlnew file+10
@@ -0,0 +1,10 @@
1+<footer class="relative mt4">
2+ {% if page.heavier %}
3+ <nav class="previous absolute right-1 t-right">
4+ <a class="bb-0" href="{{page.heavier.permalink}}">
5+ <p class="mb0 f5">Next up:</p>
6+ <p class="mt0 mb0 fw6 f5">{{page.heavier.title}}</p>
7+ </a>
8+ </nav>
9+ {% endif %}
10+</footer>