lmnwest/themes/simple/templates/pagination.html

12 lines
537 B
HTML
Raw Normal View History

2021-08-04 10:19:09 -07:00
{% if DEFAULT_PAGINATION %}
<div class="paginator" style="display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 15px;">
{% if articles_page.has_previous() %}
<a href="{{ SITEURL }}/{{ articles_previous_page.url }}">&laquo;</a>
{% endif %}
<div style="margin-bottom: 20px;">Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}</div>
{% if articles_page.has_next() %}
<a href="{{ SITEURL }}/{{ articles_next_page.url }}">&raquo;</a>
{% endif %}
</div>
{% endif %}