Newer
Older
pre-www / src / blocks / marquee-images.twig
<div class="block-{{block.key}}" data-marquee data-marquee-items="{{block.content.images|length}}" data-marquee-speed="{{block.speed}}">
    <div class="block-{{block.key}}__inner" data-marquee-container>
        {% for image in block.content.images %}
            <div class="block-{{block.key}}-item" data-marquee-item>
                {% include "../layout/partials/picture.twig" with {"image": image } %}
            </div>
        {% endfor %}
    </div>
</div>