diff options
author | Ekaitz Zárraga <ekaitz.zarraga@protonmail.com> | 2018-04-06 12:01:09 +0200 |
---|---|---|
committer | Ekaitz Zárraga <ekaitz.zarraga@protonmail.com> | 2018-04-06 12:01:09 +0200 |
commit | fc476ec89f95a8011ae132dfda05d05ff4642d7a (patch) | |
tree | 0e807e86757f9555479354a6e26b24cf08370912 /themes/elenq/templates/pagination.html |
Template V1
Diffstat (limited to 'themes/elenq/templates/pagination.html')
-rw-r--r-- | themes/elenq/templates/pagination.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/themes/elenq/templates/pagination.html b/themes/elenq/templates/pagination.html new file mode 100644 index 0000000..4219a5c --- /dev/null +++ b/themes/elenq/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 %} |