{% include "to_be_included.html" with context %}
{% for d in dicts %} {% set template = d.type + '.html' %} {% include template %} {% endfor %}
{{ d.content }}