{% for page in footer_items %} {% if not page.parent_label %} {% endif %} {% endfor %}