+ {# If a zone with [0] index contains any blocks #}
+ {% if zones[0].blocks %}
+ {# for each block #}
+ {% for block in blocks %}
+ {# create a new layer with appropriate ID #}
+
+ {# render the block by using the "Ibexa\\Bundle\\FieldTypePage\\Controller\\BlockController::renderAction" controller #}
+ {# location.id is the ID of the Location of the current content item, block.id is the ID of the current block #}
+ {{ render_esi(controller('Ibexa\\Bundle\\FieldTypePage\\Controller\\BlockController::renderAction', {
+ 'locationId': locationId,
+ 'blockId': block.id,
+ 'versionNo': versionInfo.versionNo,
+ 'languageCode': field.languageCode
+ }, ibexa_append_cacheable_query_params(block))) }}
+
+ {% endfor %}
+ {% endif %}
+