title: Break out of two loops in Shopify Liquid
body: <p>How do I break out of two loops in liquid. So far I have, which doesn't seem to work for me.</p>
  
  <pre><code>{% for x in a %}
  
    {% for y in b %}
  
      {% if y = 2 %}      
      {% break %}
      // When this loop breaks, the parent for loop should also break
      {% endif %}
  
    {% endfor %}
  
  {% endfor %}
  </code></pre>