1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-18 19:01:40 +02:00

Flextype Core: Default Theme #165

- pagination updates
This commit is contained in:
Awilum
2019-06-27 11:46:42 +03:00
parent 5004429b6d
commit dfe09fee3a

View File

@@ -22,8 +22,11 @@
{% endfor %}
{# pagination navigation #}
{% if (page - 1) > 0 %}<a href="?page={{ page - 1 }}">&larr;</a>{% endif %}
{% if (page) < entries_pages %}<a href="?page={{ page + 1 }} ">&rarr;</a>{% endif %}
<div class="text-center">
{% if (page - 1) > 0 %}<a href="?page={{ page - 1 }}">&larr;</a>{% endif %}
{{ page }} / {{ entries_pages }}
{% if (page) < entries_pages %}<a href="?page={{ page + 1 }} ">&rarr;</a>{% endif %}
</div>
{# /pagination navigation #}
{% endblock %}