Prefer double quotes for strings

This commit is contained in:
EricFromCanada
2019-09-09 23:06:39 -04:00
parent 40ab3ef17c
commit adf59df3d9
5 changed files with 21 additions and 21 deletions
+4 -4
View File
@@ -70,7 +70,7 @@ You can use multiple operators in a tag:
```liquid
{% raw %}
{% if product.title contains 'Pack' %}
{% if product.title contains "Pack" %}
This product's title contains the word Pack.
{% endif %}
{% endraw %}
@@ -80,8 +80,8 @@ You can use multiple operators in a tag:
```liquid
{% raw %}
{% if product.tags contains 'Hello' %}
This product has been tagged with 'Hello'.
{% if product.tags contains "Hello" %}
This product has been tagged with "Hello".
{% endif %}
{% endraw %}
```
@@ -95,7 +95,7 @@ In tags with more than one `and` or `or` operator, operators are checked in orde
```liquid
{% raw %}
{% if true or false and false %}
This evaluates to true, since the 'and' condition is checked first.
This evaluates to true, since the `and` condition is checked first.
{% endif %}
{% endraw %}
```