fixed pagination in template
This commit is contained in:
parent
31e2aa9e30
commit
3a6924c852
@ -12,7 +12,7 @@
|
||||
<h1 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h1>
|
||||
{% include 'article_infos.html' %}{{ article.content }}
|
||||
</article>
|
||||
{% if loop.length == 1 %}
|
||||
{% if loop.last and (articles_page.has_previous() or not articles_page.has_previous() and loop.length > 1) %}
|
||||
{% include 'pagination.html' %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user