aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/templates/favorites.html2
-rw-r--r--pyaggr3g470r/templates/feeds.html2
-rw-r--r--pyaggr3g470r/templates/home.html2
-rw-r--r--pyaggr3g470r/templates/unread.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/pyaggr3g470r/templates/favorites.html b/pyaggr3g470r/templates/favorites.html
index c3f1bc4d..41abc4a6 100644
--- a/pyaggr3g470r/templates/favorites.html
+++ b/pyaggr3g470r/templates/favorites.html
@@ -4,7 +4,7 @@
{% if feeds|count == 0 %}
<h1>No favorites.</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>
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 @@
</tr>
</thead>
<tbody>
- {% for feed in feeds %}
+ {% for feed in feeds|sort(attribute="title") %}
<tr>
<td>{{ loop.index }}</td>
<td><a href="/feed/{{ feed.oid }}">{{ feed.title }}</a></td>
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>
diff --git a/pyaggr3g470r/templates/unread.html b/pyaggr3g470r/templates/unread.html
index 40dda336..896b1372 100644
--- a/pyaggr3g470r/templates/unread.html
+++ b/pyaggr3g470r/templates/unread.html
@@ -4,7 +4,7 @@
{% if feeds|count == 0 %}
<h1>No unread articles.</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