aboutsummaryrefslogtreecommitdiffstats
path: root/franticworld/templates/pagination.html
diff options
context:
space:
mode:
authorKura <kura@kura.io>2014-06-09 14:10:04 +0100
committerKura <kura@kura.io>2014-06-09 14:10:04 +0100
commitd0a9737671da09cd8bf0ee5ce1fc4aded1867544 (patch)
treee324a258041486c4a2deaecfab2e47119e50d98b /franticworld/templates/pagination.html
parent93944ff65e49df141c2908d7c335a4d0fc3da106 (diff)
parent5c241b5d62414cd379a8baedc45a1b72a37d08dd (diff)
downloadpelican-themes-d0a9737671da09cd8bf0ee5ce1fc4aded1867544.tar.gz
Merge pull request #116 from frantic1048/master
New theme bootstrap2-dark
Diffstat (limited to 'franticworld/templates/pagination.html')
-rw-r--r--franticworld/templates/pagination.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/franticworld/templates/pagination.html b/franticworld/templates/pagination.html
new file mode 100644
index 0000000..a1300e8
--- /dev/null
+++ b/franticworld/templates/pagination.html
@@ -0,0 +1,15 @@
+{% if DEFAULT_PAGINATION %}
+<p class="paginator">
+ {% if articles_page.has_previous() %}
+ {% if articles_page.previous_page_number() == 1 %}
+ <a href="{{ SITEURL }}/{{ page_name }}.html">&laquo;prev</a>
+ {% else %}
+ <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html">&laquo;</a>
+ {% endif %}
+ {% endif %}
+ Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
+ {% if articles_page.has_next() %}
+ <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">next&raquo;</a>
+ {% endif %}
+</p>
+{% endif %}