mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-18 18:30:40 -07:00
Migrated from liquid-for-designers v2
@@ -1,4 +1,3 @@
|
||||
|
||||
There are two types of markup in liquid: Output and Tag.
|
||||
|
||||
* Output is surrounded by <pre> {{ two curly brackets }} </pre>
|
||||
@@ -86,7 +85,6 @@ in the if.
|
||||
{% else %}
|
||||
Sorry, you are too young
|
||||
{% endif %}
|
||||
</code></pre>
|
||||
|
||||
# array = 1,2,3
|
||||
{% if array includes 2 %}
|
||||
@@ -97,6 +95,7 @@ in the if.
|
||||
{% if string includes 'hello' %}
|
||||
string includes 'hello'
|
||||
{% endif %}
|
||||
</code></pre>
|
||||
|
||||
h2. Case Statement
|
||||
|
||||
|
||||
Reference in New Issue
Block a user