class Liquid::Break
Break
tag to be used to break out of a for loop.
Basic Usage:¶ ↑
{% for item in collection %} {% if item.condition %} {% break %} {% endif %} {% endfor %}
Break
tag to be used to break out of a for loop.
{% for item in collection %} {% if item.condition %} {% break %} {% endif %} {% endfor %}