From 31788558cfad8e6c74381bc9ed9b7530c9636c25 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 14 Oct 2013 22:44:07 +0200 Subject: Still trying to sort those f* articles. --- pyaggr3g470r/templates/articles.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pyaggr3g470r/templates') diff --git a/pyaggr3g470r/templates/articles.html b/pyaggr3g470r/templates/articles.html index c0abccdf..20dd0e7f 100644 --- a/pyaggr3g470r/templates/articles.html +++ b/pyaggr3g470r/templates/articles.html @@ -21,6 +21,12 @@ {% if feed.articles[feed.articles|length-1].readed %}{% else %}{% endif %}
{{ feed.articles[feed.articles|length-1].date }}
+
+ {% if feed.articles[feed.articles|length-2].readed %}

{% else %}

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

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

{% else %}{% endif %} +
{{ feed.articles[feed.articles|length-2].date }}
+
{% endif %} -- cgit