aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/home.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-11-11 18:04:05 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-11-11 18:04:05 +0100
commite055d147c3ac04ab7459cd19a15143ad7069bc4f (patch)
tree32f2ea964fadd5fd0679cd238713cc14e92f5c43 /pyaggr3g470r/templates/home.html
parentCreate directory recursively. (diff)
downloadnewspipe-e055d147c3ac04ab7459cd19a15143ad7069bc4f.tar.gz
newspipe-e055d147c3ac04ab7459cd19a15143ad7069bc4f.tar.bz2
newspipe-e055d147c3ac04ab7459cd19a15143ad7069bc4f.zip
Sort feeds by title with Jinja sort() function.
Diffstat (limited to 'pyaggr3g470r/templates/home.html')
-rw-r--r--pyaggr3g470r/templates/home.html2
1 files changed, 1 insertions, 1 deletions
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 %}
<h1>You are not subscribed to any feed. <a href="/edit_feed/">Fix this</a>.</h1>
{% else %}
- {% for feed in feeds %}
+ {% for feed in feeds|sort(attribute="title") %}
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h1>{{ feed.title }}</h1>
bgstack15