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/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyaggr3g470r/templates/home.html') diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html index e79d0603..c00b6c5c 100644 --- a/pyaggr3g470r/templates/home.html +++ b/pyaggr3g470r/templates/home.html @@ -4,7 +4,7 @@ {% if feeds|count == 0 %}

You are not subscribed to any feed. Fix this.

{% else %} - {% for feed in feeds %} + {% for feed in feeds|sort(attribute="title") %}

{{ feed.title }}

-- cgit