{% for section in sections %} {% if loop.first %} {% if display_mode == "admin" %} {% endif %} {% endif %} {% endfor %}