20 lines
750 B
HTML
20 lines
750 B
HTML
{% if DEFAULT_PAGINATION %}
|
|
<div class="pagination">
|
|
{% if articles_page.has_next() %}
|
|
<a class="btn" href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">
|
|
<i class="fa fa-angle-left"></i> Older Posts
|
|
</a>
|
|
{% endif %}
|
|
{% if articles_page.has_previous() %}
|
|
{% if articles_page.previous_page_number() == 1 %}
|
|
<a class="btn float-right" href="{{ SITEURL }}/{{ page_name }}.html">
|
|
Newer Posts <i class="fa fa-angle-right"></i>
|
|
</a>
|
|
{% else %}
|
|
<a class="btn float-right" href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html">
|
|
Newer Posts <i class="fa fa-angle-right"></i>
|
|
</a>
|
|
{% endif %}
|
|
{% endif %}
|
|
</div>
|
|
{% endif %}
|