summaryrefslogtreecommitdiffhomepage
path: root/website/content/_includes/paginator.html
diff options
context:
space:
mode:
Diffstat (limited to 'website/content/_includes/paginator.html')
-rwxr-xr-xwebsite/content/_includes/paginator.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/website/content/_includes/paginator.html b/website/content/_includes/paginator.html
new file mode 100755
index 000000000..b4ff4c3b1
--- /dev/null
+++ b/website/content/_includes/paginator.html
@@ -0,0 +1,10 @@
+<nav aria-label="...">
+ <ul class="pager">
+ {% if paginator.previous_page %}
+ <li class="previous"><a href="{{ paginator.previous_page_path }}"><span aria-hidden="true">&larr;</span> Newer</a></li>
+ {% endif %}
+ {% if paginator.next_page %}
+ <li class="next"><a href="{{ paginator.next_page_path }}">Older <span aria-hidden="true">&rarr;</span></a></li>
+ {% endif %}
+ </ul>
+</nav>