Class | Liquid::Break |
In: |
lib/liquid/tags/break.rb
|
Parent: | Tag |
Break tag to be used to break out of a for loop.
{% for item in collection %} {% if item.condition %} {% break %} {% endif %} {% endfor %}