flex/templates/partial/pagination.html

15 lines
507 B
HTML
Raw Normal View History

2015-07-19 02:04:01 +02:00
{% if DEFAULT_PAGINATION %}
<div class="pagination">
{% if articles_page.has_next() %}
<a class="btn" href="{{ SITEURL }}/{{ articles_next_page.url }}">
<i class="fa fa-angle-left"></i> {% trans %}Older Posts{% endtrans %}
2015-07-19 02:04:01 +02:00
</a>
{% endif %}
{% if articles_page.has_previous() %}
<a class="btn float-right" href="{{ SITEURL }}/{{ articles_previous_page.url }}">
{% trans %}Newer Posts{% endtrans %} <i class="fa fa-angle-right"></i>
</a>
2015-07-19 02:04:01 +02:00
{% endif %}
</div>
{% endif %}