mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-29 15:15:19 -07:00
delete unneccessary indent
+6
-6
@@ -442,12 +442,12 @@ Reversing the loop:
|
|||||||
A for loop can take an optional `else` clause to display a block of text when there are no items in the collection:
|
A for loop can take an optional `else` clause to display a block of text when there are no items in the collection:
|
||||||
|
|
||||||
```liquid
|
```liquid
|
||||||
# items => []
|
# items => []
|
||||||
{% for item in items %}
|
{% for item in items %}
|
||||||
{{ item.title }}
|
{{ item.title }}
|
||||||
{% else %}
|
{% else %}
|
||||||
There are no items!
|
There are no items!
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Variable Assignment
|
### Variable Assignment
|
||||||
|
|||||||
Reference in New Issue
Block a user