aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-10-28 07:52:00 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-10-28 07:52:00 +0100
commit721343825a6373b99d6ecc1e162e21c0d021ead9 (patch)
tree1338bfea9fee06a4c1aaf35dcea7a88b0b661a4a /pyaggr3g470r/templates
parentRemoved Flask debug toolbar dependency. (diff)
downloadnewspipe-721343825a6373b99d6ecc1e162e21c0d021ead9.tar.gz
newspipe-721343825a6373b99d6ecc1e162e21c0d021ead9.tar.bz2
newspipe-721343825a6373b99d6ecc1e162e21c0d021ead9.zip
Displaying the number of articles in a feed.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/articles.html3
1 files changed, 2 insertions, 1 deletions
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 @@
<div class="container">
<div class="jumbotron">
<h2>{{ feed.title }}</h2>
+ <h3>{{ feed.articles|length }} articles.</h3>
</div>
{% for number in range(0, feed.articles|length-2, 3) %}
<div class="row">
@@ -33,4 +34,4 @@
</div>
{% endif %}
</div><!-- /.container -->
-{% endblock %} \ No newline at end of file
+{% endblock %}
bgstack15