From 57ab745701313adeb18ea0e8d8476f963e55e1d5 Mon Sep 17 00:00:00 2001 From: Stephan Date: Sun, 21 Mar 2021 16:53:00 +0100 Subject: [PATCH] Moved pagination below last blog post. --- templates/blog.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/blog.html b/templates/blog.html index c1dbf0af..6dd26e8f 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -25,8 +25,8 @@ {% 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 %} +
+ {{ render_pagination(this.pagination, true) }} +
{% endblock %}