summaryrefslogtreecommitdiffstats
path: root/theme/templates/pagination.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2017-08-30 21:04:39 -0700
committerBryan Newbold <bnewbold@archive.org>2017-08-30 21:10:40 -0700
commit381e40f2b9c87b6a9359f2c79cf4687064625288 (patch)
tree5542cd9ae24ac604958f09686c9b53923452d459 /theme/templates/pagination.html
downloadarchive3k.org-381e40f2b9c87b6a9359f2c79cf4687064625288.tar.gz
archive3k.org-381e40f2b9c87b6a9359f2c79cf4687064625288.zip
bootstrap 3 + pelican template repo
Diffstat (limited to 'theme/templates/pagination.html')
-rw-r--r--theme/templates/pagination.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/theme/templates/pagination.html b/theme/templates/pagination.html
new file mode 100644
index 0000000..4219a5c
--- /dev/null
+++ b/theme/templates/pagination.html
@@ -0,0 +1,11 @@
+{% if DEFAULT_PAGINATION %}
+<p class="paginator">
+ {% if articles_page.has_previous() %}
+ <a href="{{ SITEURL }}/{{ articles_previous_page.url }}">&laquo;</a>
+ {% endif %}
+ Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
+ {% if articles_page.has_next() %}
+ <a href="{{ SITEURL }}/{{ articles_next_page.url }}">&raquo;</a>
+ {% endif %}
+</p>
+{% endif %}