diff options
Diffstat (limited to 'pyaggr3g470r/templates/articles.html')
-rw-r--r-- | pyaggr3g470r/templates/articles.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/articles.html b/pyaggr3g470r/templates/articles.html index 146769ac..c0abccdf 100644 --- a/pyaggr3g470r/templates/articles.html +++ b/pyaggr3g470r/templates/articles.html @@ -1,7 +1,7 @@ {% extends "layout.html" %} {% block content %} <div class="container"> - {% for number in range(0, feed.articles|sort(attribute='date')|length-2, 3) %} + {% for number in range(0, feed.articles|length-2, 3) %} <div class="row"> {% for n in range(number, number+3) %} <div class="col-xs-6 col-sm-4 col-md-4"> |