fix missing </ol> and </section> tags

This commit is contained in:
Bruno Binet 2012-03-30 14:20:55 +02:00
commit 64e12b1809

View file

@ -44,11 +44,11 @@
or not articles_page.has_previous() and loop.length > 1) %} or not articles_page.has_previous() and loop.length > 1) %}
{% include 'pagination.html' %} {% include 'pagination.html' %}
{% endif %} {% endif %}
{% endfor %} {% if loop.last %}
{% if loop.length > 1 or articles_page.has_previous() %}
</ol><!-- /#posts-list --> </ol><!-- /#posts-list -->
</section><!-- /#content --> </section><!-- /#content -->
{% endif %} {% endif %}
{% endfor %}
{% else %} {% else %}
<section id="content" class="body"> <section id="content" class="body">
<h2>Pages</h2> <h2>Pages</h2>