From e055d147c3ac04ab7459cd19a15143ad7069bc4f Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 11 Nov 2013 18:04:05 +0100 Subject: Sort feeds by title with Jinja sort() function. --- pyaggr3g470r/templates/feeds.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyaggr3g470r/templates/feeds.html') diff --git a/pyaggr3g470r/templates/feeds.html b/pyaggr3g470r/templates/feeds.html index ce9f658e..b2009fac 100644 --- a/pyaggr3g470r/templates/feeds.html +++ b/pyaggr3g470r/templates/feeds.html @@ -15,7 +15,7 @@ - {% for feed in feeds %} + {% for feed in feeds|sort(attribute="title") %} {{ loop.index }} {{ feed.title }} -- cgit