mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
Added documentation for for-else
This commit is contained in:
@@ -13,6 +13,8 @@ module Liquid
|
||||
# <div {% if forloop.first %}class="first"{% endif %}>
|
||||
# Item {{ forloop.index }}: {{ item.name }}
|
||||
# </div>
|
||||
# {% else %}
|
||||
# There is nothing in the collection.
|
||||
# {% endfor %}
|
||||
#
|
||||
# You can also define a limit and offset much like SQL. Remember
|
||||
|
||||
Reference in New Issue
Block a user