aboutsummaryrefslogtreecommitdiffstats
path: root/franticworld/templates/pagination.html
diff options
context:
space:
mode:
authorfrantic1048 <franticblack@163.com>2013-11-21 16:11:50 +0800
committerfrantic1048 <franticblack@163.com>2013-11-21 16:11:50 +0800
commit168b866cbafb6c3988097261cc48af7270ec72e9 (patch)
tree61085c3510852a7645743b7b49a8044aee930da2 /franticworld/templates/pagination.html
parent84fe361a8e3a64e524471b5d36927fd50086926d (diff)
downloadpelican-themes-168b866cbafb6c3988097261cc48af7270ec72e9.tar.gz
add franticworld's theme
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 %}