pelican-clean-blog/templates/pagination.html

17 lines
556 B
HTML
Raw Normal View History

2014-12-10 17:17:48 +00:00
{% if DEFAULT_PAGINATION %}
<hr>
2014-12-10 17:17:48 +00:00
<!-- Pager -->
<ul class="pager">
<li class="next">
{% if articles_page.has_previous() %}
<a href="{{ SITEURL }}/{{ articles_previous_page.url }}">Newest Posts &rarr;</a>
{% endif %}
{% if articles_page.has_next() %}
<a href="{{ SITEURL }}/{{ articles_next_page.url }}">Older Posts &rarr;</a>
{% endif %}
</li>
</ul>
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
<hr>
2014-12-10 17:17:48 +00:00
{% endif %}