title: Jekyll break for loop
body: <p>I'm processing site.posts to compare post.categories against page.categories to create a related posts sidebar but if there are multiple common categories I get multiple links. </p>
  
  <p>I want to break the inner loop but can't find anything to suggest this is possible.</p>
  
  <p>Roughly (because on train and phone) the code I have is</p>
  
  <pre><code>{% for post in site.posts %}
        {% for postcat in post.categories %}
              {% for cat in page.categories %}
                    {% if cat == postcat %}
                          &lt;p&gt; {{ post.title }} &lt;/p&gt;
                    {% endif %}
              {% endfor %}
        {% endfor %}
  {% endfor %}
  </code></pre>
  
  <p>Not sure this is even doable</p>