feat: when tag with multiple values

This commit is contained in:
Memmie Lenglet
2021-05-06 22:52:22 +08:00
committed by Jun Yang
parent 3e130e01a7
commit 8f9639f1d6
4 changed files with 27 additions and 8 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ Input
{% 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
+1 -1
View File
@@ -12,7 +12,7 @@ title: case
{% 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