varia.website/themes/varia/templates/pagination.html

13 lines
463 B
HTML
Raw Permalink Normal View History

2017-07-06 14:28:42 +02:00
{% if DEFAULT_PAGINATION %}
<p class="paginator">
{% if articles_page.has_previous() %}
<a href="{% if DEFAULT_LANG == 'en' %}/en{% endif %}/{{ articles_previous_page.url }}">&laquo;</a>
2017-07-06 14:28:42 +02:00
{% endif %}
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
{% if articles_page.has_next() %}
<a href="{% if DEFAULT_LANG == 'en' %}/en{% endif %}/{{ articles_next_page.url }}">&raquo;</a>
2017-07-06 14:28:42 +02:00
{% endif %}
</p>
{% endif %}