{% if include.object.items %} {% assign carousel_items = include.object.items %} {% elsif include.object.data_source %} {% assign carousel_items = site.data[include.object.source] %} {% endif %} {% for item in carousel_items %} {% if include.object.lightbox_enabled %}{% endif %}
{% if item.image %} {% assign image_path = item.image | replace: '/assets/images/','' %} {% if item.image.is_svg %} {{include.object.image.alt}} {% else %} {% picture feature_block_image {{image_path}} alt=include.object.image.alt %} {% endif %} {% endif %}
{% if include.object.lightbox_enabled %}
{% endif %} {% endfor %}