Newer
Older
pre-www / src / blocks / tease-row.twig
<div class="block-{{block.key}} {{block.classes}} block-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>