aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-striped-html5up/templates/pagination.html
diff options
context:
space:
mode:
Diffstat (limited to 'pelican-striped-html5up/templates/pagination.html')
-rw-r--r--pelican-striped-html5up/templates/pagination.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/pelican-striped-html5up/templates/pagination.html b/pelican-striped-html5up/templates/pagination.html
new file mode 100644
index 0000000..37e970d
--- /dev/null
+++ b/pelican-striped-html5up/templates/pagination.html
@@ -0,0 +1,11 @@
+{% if DEFAULT_PAGINATION %}
+<p class="paginator">
+ {% if articles_page.has_previous() %}
+ <a class="button previous" href="{{ SITEURL }}/{{ articles_previous_page.url }}">Newer Entries</a>
+ {% endif %}
+ Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
+ {% if articles_page.has_next() %}
+ <a class="button next" href="{{ SITEURL }}/{{ articles_next_page.url }}">Older Entries</a>
+ {% endif %}
+</p>
+{% endif %}