Moved pagination below last blog post.

This commit is contained in:
Stephan 2021-03-21 16:53:00 +01:00
parent d12abd3480
commit 57ab745701

View File

@ -25,8 +25,8 @@
</section> </section>
{% for blog_post in this.pagination.items %} {% for blog_post in this.pagination.items %}
{{ render_blog_post(blog_post, from_index=true, section_class=loop.cycle('-odd', '-even')) }} {{ 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 %} {% endfor %}
<section>
{{ render_pagination(this.pagination, true) }}
</section>
{% endblock %} {% endblock %}