Moved pagination below last blog post.
This commit is contained in:
parent
d12abd3480
commit
57ab745701
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user