diff options
author | Natalia Ventre <natalia.ventre@gmail.com> | 2012-02-09 18:24:39 -0200 |
---|---|---|
committer | Natalia Ventre <natalia.ventre@gmail.com> | 2012-02-09 18:24:39 -0200 |
commit | 2eb50d3a81747be778e2070b53c83417f127cc20 (patch) | |
tree | 55a291446e7a277b59213a56638ea0e6ad1df66e /Just-Read | |
parent | 3aaaf15926ba8e161a4ab0891f29b014216935f7 (diff) | |
download | pelican-themes-2eb50d3a81747be778e2070b53c83417f127cc20.tar.gz |
Limited the "other posts" to 5
Diffstat (limited to 'Just-Read')
-rw-r--r-- | Just-Read/templates/index.html | 2 |
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 %} |