forked from ag_kommunikation/webseite
Moved pagination below last blog post.
This commit is contained in:
parent
d12abd3480
commit
57ab745701
@ -25,8 +25,8 @@
|
||||
</section>
|
||||
{% for blog_post in this.pagination.items %}
|
||||
{{ render_blog_post(blog_post, from_index=true, section_class=loop.cycle('-odd', '-even')) }}
|
||||
{% if loop.index == loop.length %}
|
||||
{{ render_pagination(this.pagination, loop.length is odd) }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<section>
|
||||
{{ render_pagination(this.pagination, true) }}
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user