mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge 21d948a378 into a9d1fdae3d
This commit is contained in:
commit
a610c602cc
1 changed files with 3 additions and 2 deletions
|
|
@ -43,8 +43,9 @@
|
|||
{% endif %}
|
||||
{% if loop.last %}
|
||||
</ol><!-- /#posts-list -->
|
||||
{% if loop.last and (articles_page.has_previous()
|
||||
or not articles_page.has_previous() and loop.length > 1) %}
|
||||
{% if loop.last and
|
||||
( (loop.length == DEFAULT_PAGINATION and articles_page.has_next()) or
|
||||
(loop.length < DEFAULT_PAGINATION and articles_page.has_previous())) %}
|
||||
{% include 'pagination.html' %}
|
||||
{% endif %}
|
||||
</section><!-- /#content -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue