Limited the "other posts" to 5

This commit is contained in:
Natalia Ventre
2012-02-09 18:24:39 -02:00
parent 3aaaf15926
commit 2eb50d3a81

View File

@@ -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 %}