{% block block_latest_news %}
<div class="col-12 col-md-6">
<div class="cms-block-latest-news--title">
{% block block_latest_news_left %}
{% set element = block.slots.getSlot('leftHeader') %}
{% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
{% endblock %}
</div>
<div class="cms-block-latest-news--content">
{% for i in 1..3 %}
{% set element = block.slots.getSlot('leftContentImage' ~ i) %}
{% if element %}
{% block block_latest_news_newsitem %}
<div class="cms-block-latest-news--item d-flex">
{% block block_latest_news_item_image %}
<div class="cms-block-latest-news--item-image">
{% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
</div>
{% endblock %}
{% block block_latest_news_item_text %}
<div class="cms-block-latest-news--item-text">
{% set element = block.slots.getSlot('leftContentText' ~ i) %}
{% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
</div>
{% endblock %}
</div>
{% endblock %}
{% endif %}
{% endfor %}
</div>
</div>
<div class="col-12 col-md-6">
<div class="cms-block-latest-news--title">
{% block block_latest_news_right %}
{% set element = block.slots.getSlot('rightHeader') %}
{% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
{% endblock %}
</div>
<div class="cms-block-latest-news--content">
{% set element = block.slots.getSlot('rightContent') %}
{% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
</div>
</div>
{% endblock %}