{% if not included %} {% extends 'index.html' %} {% endif %} {% set included = True %} {% block content%}