mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-04 09:35:14 -07:00
delete unneccessary indent
+4
-4
@@ -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:
|
||||
|
||||
```liquid
|
||||
# items => []
|
||||
{% for item in items %}
|
||||
# items => []
|
||||
{% for item in items %}
|
||||
{{ item.title }}
|
||||
{% else %}
|
||||
{% else %}
|
||||
There are no items!
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
```
|
||||
|
||||
### Variable Assignment
|
||||
|
||||
Reference in New Issue
Block a user