Loop through entries in a Matrix block type I have a Matrix field with 4 Block types. I loop through them like this

{% for block in entry.MatrixFieldHandle %}
    {% set type = block.type.handle %}

    {% switch type %}
        {% case 'BlockType1' %}
            {{ block.fieldHandle }}

        {% case 'BlockType2' %}
            {{ block.fieldHandle }}


within one of these cases, I need to loop through the entries:

{% case 'BlockType3' %}
    {% for row in block|batch(2) %}
        &lt;div class="row"&gt;

        {% for block in row %}
            &lt;div class="col"&gt;{{ block.fieldHandle }}&lt;/div&gt;
        {% endfor %}
    &lt;/div&gt;
{% endfor %}


The html output is close, but I do not get any content displayed. What is wrong?
I'm assuming you are talking about your block type having a Entries field within.

You simply loop through it like this:

{% case 'BlockType3' %}
&lt;div class="row"&gt;
{% for entry in block.entriesFieldHandle %}
    &lt;div class="col"&gt;{{ entry.title }}&lt;/div&gt;
{% endfor %}
&lt;/div&gt;