aboutsummaryrefslogtreecommitdiffstats
path: root/bricks/templates/paginator.html
diff options
context:
space:
mode:
authormaxlambertini <m.lambertini@gmail.com>2015-10-26 15:24:34 +0100
committerJustin Mayer <entroP@gmail.com>2015-10-27 13:10:27 -0700
commit9c87d63f70970aee390ad0c8b2623b27b4d94f15 (patch)
tree2c43a8817de6c7765b3fdb61d437cb29abc17791 /bricks/templates/paginator.html
parent10f51d8bb763fc6edd2ecd32c695d3529b01c93e (diff)
downloadpelican-themes-9c87d63f70970aee390ad0c8b2623b27b4d94f15.tar.gz
Add Bricks theme
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 %}