theme/templates/paginator.html

changeset 36
9507107a1133
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/theme/templates/paginator.html	Sat Mar 12 17:37:27 2016 +0100
@@ -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 %}

mercurial