aboutsummaryrefslogtreecommitdiffstats
path: root/bricks/templates/paginator.html
diff options
context:
space:
mode:
Diffstat (limited to 'bricks/templates/paginator.html')
-rw-r--r--bricks/templates/paginator.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/bricks/templates/paginator.html b/bricks/templates/paginator.html
new file mode 100644
index 0000000..4219a5c
--- /dev/null
+++ b/bricks/templates/paginator.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 %}