15 lines
343 B
Twig
15 lines
343 B
Twig
|
Loaded Template {{ variant }}
|
||
|
|
||
|
{% include 'test-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 %}
|