{% match item %}
{% when 'a' %}
Found literal a
{% when 'b' %}
Found literal b
{% else %}
Else found {{item}}
{% endmatch %}