mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-29 07:05:12 -07:00
Fix truthy example
This commit is contained in:
@@ -18,7 +18,7 @@ In the example below, the string "Tobi" is not a boolean, but it is truthy in a
|
|||||||
{% raw %}
|
{% raw %}
|
||||||
{% assign tobi = "Tobi" %}
|
{% assign tobi = "Tobi" %}
|
||||||
|
|
||||||
{% if tobi == true %}
|
{% if tobi %}
|
||||||
This condition will always be true.
|
This condition will always be true.
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|||||||
Reference in New Issue
Block a user