diff --git a/Liquid-for-Designers.md b/Liquid-for-Designers.md index 6c91030..73053b3 100644 --- a/Liquid-for-Designers.md +++ b/Liquid-for-Designers.md @@ -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 %} - {{ item.title }} - {% else %} - There are no items! - {% endfor %} +# items => [] +{% for item in items %} + {{ item.title }} +{% else %} + There are no items! +{% endfor %} ``` ### Variable Assignment