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

{{tpl.name}}

{% for d in tpl.content %}
{{d.template}} {% for k,v in d.params.items() %}
{% endfor %}
{% endfor %}
{% endblock content %}