Adapt template to pelican
This commit is contained in:
14
templates/pagination.html
Normal file
14
templates/pagination.html
Normal file
@ -0,0 +1,14 @@
|
||||
{% if DEFAULT_PAGINATION %}
|
||||
<!-- Pager -->
|
||||
<ul class="pager">
|
||||
<li class="next">
|
||||
{% if articles_page.has_previous() %}
|
||||
<a href="{{ SITEURL }}/{{ articles_previous_page.url }}">Newest Posts →</a>
|
||||
{% endif %}
|
||||
{% if articles_page.has_next() %}
|
||||
<a href="{{ SITEURL }}/{{ articles_next_page.url }}">Older Posts →</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
</ul>
|
||||
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
|
||||
{% endif %}
|
Reference in New Issue
Block a user