mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-29 15:15:19 -07:00
Migrated from liquid-for-designers v27
@@ -113,7 +113,7 @@ Liquid allows you to write simple expressions in the @if@ or @unless@ (and optio
|
|||||||
# Same as above
|
# Same as above
|
||||||
{% unless user.name == 'tobi' %}
|
{% unless user.name == 'tobi' %}
|
||||||
Hello non-tobi
|
Hello non-tobi
|
||||||
{% endif %}
|
{% endunless %}
|
||||||
|
|
||||||
# Check if the user has a credit card
|
# Check if the user has a credit card
|
||||||
{% if user.creditcard != null %}
|
{% if user.creditcard != null %}
|
||||||
|
|||||||
Reference in New Issue
Block a user