{% match item %}
{% when "foo" %}
Found literal foo
{% when "bar" %}
Found literal bar
{% else %}
Else found {{item}}
{% endmatch %}