From 072a3726ecef1a4c3f02cd3538cf695c61312844 Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Mon, 3 Feb 2014 09:52:15 +0100 Subject: fixed pagination in SoMA --- SoMA/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SoMA') diff --git a/SoMA/templates/index.html b/SoMA/templates/index.html index 76579b5..4f35eee 100644 --- a/SoMA/templates/index.html +++ b/SoMA/templates/index.html @@ -12,7 +12,7 @@

{{ article.title }}

{% include 'article_infos.html' %}{{ article.content }} - {% 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 %} -- cgit v1.1