flex/templates/partial/pagination.html

15 lines
479 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> {{ _('Older Posts') }}
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 }}">
{{ _('Newer Posts') }} <i class="fa fa-angle-right"></i>
</a>
2015-07-19 02:04:01 +02:00
{% endif %}
</div>
{% endif %}