<div class="block-container block-composition block-composition-links-list"> {% include "../title.twig" with {'block': block.inner_blocks.title } %} {% if block.inner_blocks.links.repeater %} {% for links in block.inner_blocks.links.repeater %} {% include "../links-list.twig" with {'block': links } %} {% endfor %} {% else %} {% include "../links-list.twig" with {'block': block.inner_blocks.links } %} {% endif %} </div>