From 2eb50d3a81747be778e2070b53c83417f127cc20 Mon Sep 17 00:00:00 2001 From: Natalia Ventre Date: Thu, 9 Feb 2012 18:24:39 -0200 Subject: [PATCH] Limited the "other posts" to 5 --- Just-Read/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Just-Read/templates/index.html b/Just-Read/templates/index.html index 262c23e..39513e2 100644 --- a/Just-Read/templates/index.html +++ b/Just-Read/templates/index.html @@ -16,7 +16,7 @@

More posts

    {% endif %} - {% else %} + {% elif loop.index < 7 %}
  1. {{ article.title }}
  2. {% endif %} {% endfor %}