From 721343825a6373b99d6ecc1e162e21c0d021ead9 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 28 Oct 2013 07:52:00 +0100 Subject: Displaying the number of articles in a feed. --- pyaggr3g470r/templates/articles.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pyaggr3g470r/templates/articles.html') diff --git a/pyaggr3g470r/templates/articles.html b/pyaggr3g470r/templates/articles.html index 7c81d0a5..3b29a2d6 100644 --- a/pyaggr3g470r/templates/articles.html +++ b/pyaggr3g470r/templates/articles.html @@ -3,6 +3,7 @@

{{ feed.title }}

+

{{ feed.articles|length }} articles.

{% for number in range(0, feed.articles|length-2, 3) %}
@@ -33,4 +34,4 @@
{% endif %}
-{% endblock %} \ No newline at end of file +{% endblock %} -- cgit