on master help sign in
add docs pagination
commit3720edf402947bd347f88a2b4443823f238ce628 authorMatilde Park <matilde@tlon.io> dateTue 22 Oct 2019, 12:59 (7 years ago) parent05ee3dd
2 files changed+12
templates/doc.html+2 templates/partials/pagination-docs.html+10
templates/doc.html+2
@@ -17,5 +17,7 @@
1717 <h1>{{ page.title }}</h1>
1818 <!-- body -->
1919 {{ page.content | safe }}
20+
21+ {% include "partials/pagination-docs.html" %}
2022</article>
2123{% 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>