{% when %} can have multiple cases

This commit is contained in:
EricFromCanada
2021-02-22 16:34:14 -05:00
parent d4222ff2b6
commit 9e0dc135ca

View File

@@ -86,7 +86,7 @@ Creates a switch statement to compare a variable with different values. `case` i
{% case handle %}
{% when "cake" %}
This is a cake
{% when "cookie" %}
{% when "cookie", "biscuit" %}
This is a cookie
{% else %}
This is not a cake nor a cookie