7. Filters

7.1. Filters

{{ items|join(', ') }}
{% filter upper %}
    This text becomes uppercase
{% endfilter %}

7.2. Cycle

{% for user in users %}
    <li class="{{ loop.cycle('odd', 'even') }}">{{ user }}</li>
{% endfor %}