<div class="block-{{block.key}} {{block.classes}} grid-container"> <div class="tease-wrapper"> {% for group in block.content.featured %} {% set type = group.post_type %} {% for item in group.items %} {% set post = post_type[~type~].items[~item~] %} {% include "./tease.twig" with {"post": post } %} {% endfor %} {% endfor %} </div> </div>