mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03: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