Lines Matching refs:foo
7 Here is how you can assign the ``bar`` value to the ``foo`` variable:
11 {% set foo = 'bar' %}
13 After the ``set`` call, the ``foo`` variable is available in the template like
19 {{ foo }}
26 {% set foo = [1, 2] %}
27 {% set foo = {'foo': 'bar'} %}
28 {% set foo = 'foo' ~ 'bar' %}
34 {% set foo, bar = 'foo', 'bar' %}
38 {% set foo = 'foo' %}
45 {% set foo %}
64 {% set foo = item %}
67 {# foo is NOT available #}
73 {% set foo = "" %}
75 {% set foo = item %}
78 {# foo is available #}