pelican-clean-blog/templates/pagination.html

17 lines
594 B
HTML
Raw Normal View History

{% if DEFAULT_PAGINATION and articles_paginator.num_pages > 1 %}
<hr>
2014-12-10 17:17:48 +00:00
<!-- Pager -->
<ul class="pager">
<li class="next">
{% if articles_page.has_next() %}
2017-05-13 02:32:57 +00:00
<a href="{{ SITEURL }}/{{ articles_next_page.url }}">Older Posts &rarr;</a>
2014-12-10 17:17:48 +00:00
{% endif %}
2016-03-24 16:45:12 +00:00
{% if articles_page.has_previous() %}
2017-05-13 02:32:57 +00:00
<a href="{{ SITEURL }}/{{ articles_previous_page.url }}"> &larr; Newest Posts</a>
2016-03-24 16:45:12 +00:00
{% endif %}
2014-12-10 17:17:48 +00:00
</li>
</ul>
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
<hr>
2014-12-10 17:17:48 +00:00
{% endif %}