I wonder if there is a way of creating multi statements in TWIG
Example: two separate statements ...
{% set foo:bar %}
{% set baz:qux %}
into one single statement
{%
set foo:bar
set baz:qux
%}
I wonder if there is a way of creating multi statements in TWIG
Example: two separate statements ...
{% set foo:bar %}
{% set baz:qux %}
into one single statement
{%
set foo:bar
set baz:qux
%}
No you can't. set
is a "tag", all thing after are compiled with the Token Parser for the "tag".