remove useless if condition in index template

This commit is contained in:
SkyLothar 2015-02-22 16:27:18 +08:00
commit bc3a0e8c59

View file

@ -23,7 +23,7 @@
{% endif %} {% endif %}
{# other items #} {# other items #}
{% else %} {% else %}
{% if loop.first and articles_page.has_previous %} {% if loop.first %}
<section id="content" class="body"> <section id="content" class="body">
<ol id="posts-list" class="hfeed" start="{{ articles_paginator.per_page -1 }}"> <ol id="posts-list" class="hfeed" start="{{ articles_paginator.per_page -1 }}">
{% endif %} {% endif %}