{% if not included %} {% extends 'index.html' %} {% endif %} {% block content %} {% set included = True %} {% include "ics.html" %} {% include "synoptic.html" %} {% endblock %}