From 4b59d40ba6754c3a50474dc43fd93a74b3577dc2 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 13 Oct 2013 16:01:11 +0200 Subject: fixed bug in /articles page. --- pyaggr3g470r/templates/articles.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pyaggr3g470r/templates/articles.html') diff --git a/pyaggr3g470r/templates/articles.html b/pyaggr3g470r/templates/articles.html index d98d1f80..146769ac 100644 --- a/pyaggr3g470r/templates/articles.html +++ b/pyaggr3g470r/templates/articles.html @@ -13,5 +13,15 @@ {% endfor %} {% endfor %} + {% if feed.articles|length % 3 !=0 %} +
+
+ {% if feed.articles[feed.articles|length-1].readed %}

{% else %}

{% endif %} + {{ feed.articles[feed.articles|length-1].title }}

+ {% if feed.articles[feed.articles|length-1].readed %}

{% else %}{% endif %} +
{{ feed.articles[feed.articles|length-1].date }}
+
+
+ {% endif %} {% endblock %} \ No newline at end of file -- cgit