{% if frontpages %} {% for frontpage in frontpages %} {% endfor %} {% else %} {% if page %} {% endif %} {% endif %}