{% spaceless %}{% if node.content %}
{% for item in node.content %} {% with template="./"|add:item.type|lower|add:".html" %} {% include template with node=item %} {% endwith %} {% endfor %}