{% if user %}
Привет, {{ user.name }}
{% endif %}
{% if user %}
Привет, {{ user.name }}
{% else %}
<a href="/client_account/contacts/new">Зарегистрироваться</a>
{% endif %}
{% if user.name == 'tobi' %}
Hello tobi
{% elsif user.name == 'bob' %}
Hello bob
{% else %}
Hello guest
{% endif %}
{% unless product.title contains 'колбаса' %}
Это не колбаса
{% endunless %}
{% case handle %}
{% when 'cake' %}
This is a cake
{% when 'cookie' %}
This is a cookie
{% else %}
This is not a cake nor a cookie
{% endcase %}