index/tests/TemplatingTest-loaded.twig

14 lines
353 B
Twig

Loaded Template {{ variant }}
{% include 'TemplatingTest-global' %}
{{ context_var }}
{{ simple_set }}
{{ another.context.var.deep }}
{{ context_var2 }}
{% if local_var is defined %}
this was called through render() so local_var is set to "{{ local_var }}"
{% else %}
this was called through toString() so local_var isn't defined
{% endif %}