diff options
author | Kura <kura@kura.io> | 2014-06-09 14:10:04 +0100 |
---|---|---|
committer | Kura <kura@kura.io> | 2014-06-09 14:10:04 +0100 |
commit | d0a9737671da09cd8bf0ee5ce1fc4aded1867544 (patch) | |
tree | e324a258041486c4a2deaecfab2e47119e50d98b /franticworld/templates/pagination.html | |
parent | 93944ff65e49df141c2908d7c335a4d0fc3da106 (diff) | |
parent | 5c241b5d62414cd379a8baedc45a1b72a37d08dd (diff) | |
download | pelican-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.html | 15 |
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">«prev</a> + {% else %} + <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html">«</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»</a> + {% endif %} +</p> +{% endif %} |