mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
{% when %} can have multiple cases
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user