aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatalia Ventre <natalia.ventre@gmail.com>2012-02-09 18:24:39 -0200
committerNatalia Ventre <natalia.ventre@gmail.com>2012-02-09 18:24:39 -0200
commit2eb50d3a81747be778e2070b53c83417f127cc20 (patch)
tree55a291446e7a277b59213a56638ea0e6ad1df66e
parent3aaaf15926ba8e161a4ab0891f29b014216935f7 (diff)
downloadpelican-themes-2eb50d3a81747be778e2070b53c83417f127cc20.tar.gz
Limited the "other posts" to 5
-rw-r--r--Just-Read/templates/index.html2
1 files changed, 1 insertions, 1 deletions
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 @@
<h3>More posts</h3>
<ol class="archive">
{% endif %}
- {% else %}
+ {% elif loop.index < 7 %}
<li class="clearfix"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}"><time datetime="{{ article.date.isoformat() }}" pubdate>{{ article.locale_date }}</time> {{ article.title }}</a></li>
{% endif %}
{% endfor %}