diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-05-01 23:53:51 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-05-01 23:53:51 -0400 |
commit | 0290aee70d071b3d5db2ce14635842043763acb5 (patch) | |
tree | 42ab419e0eded665938ef9d745ffb8f5a3ac220a /theme/templates/pagination.html | |
parent | fdca509424c838b4f031c45e1a8d786c1a84fd89 (diff) | |
download | bnewnet-0290aee70d071b3d5db2ce14635842043763acb5.tar.gz bnewnet-0290aee70d071b3d5db2ce14635842043763acb5.zip |
create a basic theme (from bnewnet style)
Diffstat (limited to 'theme/templates/pagination.html')
-rw-r--r-- | theme/templates/pagination.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/theme/templates/pagination.html b/theme/templates/pagination.html new file mode 100644 index 0000000..4219a5c --- /dev/null +++ b/theme/templates/pagination.html @@ -0,0 +1,11 @@ +{% if DEFAULT_PAGINATION %} +<p class="paginator"> + {% if articles_page.has_previous() %} + <a href="{{ SITEURL }}/{{ articles_previous_page.url }}">«</a> + {% endif %} + Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} + {% if articles_page.has_next() %} + <a href="{{ SITEURL }}/{{ articles_next_page.url }}">»</a> + {% endif %} +</p> +{% endif %} |