{% extends "_layout/_layout" %} {% if entry is not defined %} {% exit 404 %} {% endif %} {% set var = "foo" %} {% macro input(name, value, type, size) %} {% endmacro %} {% block blockname %} {# comment #} {{ var }} {% for foo in bar %} {% if condition %} {% macro wrapped_input(name, value, type, size) %} {% import _self as forms %} {# comment #}