diff options
Diffstat (limited to 'theme/cccevents/templates/pagination.html')
-rw-r--r-- | theme/cccevents/templates/pagination.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/theme/cccevents/templates/pagination.html b/theme/cccevents/templates/pagination.html new file mode 100644 index 0000000..f58cdaf --- /dev/null +++ b/theme/cccevents/templates/pagination.html | |||
@@ -0,0 +1,11 @@ | |||
1 | {% if DEFAULT_PAGINATION %} | ||
2 | <p class="paginator"> | ||
3 | {% if articles_page.has_previous() %} | ||
4 | <a href="{{ SITEURL }}/{{ articles_previous_page.url }}">«</a> | ||
5 | {% endif %} | ||
6 | Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} | ||
7 | {% if articles_page.has_next() %} | ||
8 | <a href="{{ SITEURL }}/{{ articles_next_page.url }}">»</a> | ||
9 | {% endif %} | ||
10 | </p> | ||
11 | {% endif %} | ||