{% block slides %} {% for slide in slides %} {% if loop.first %} {{ include("global/hotspot_slide.tpl", { "first": true, "background": slide.background, "background_xsmall": slide.background_xsmall, "background_small": slide.background_small, "background_medium": slide.background_medium, "background_large": slide.background_large, "type": slide.type, "title": slide.title, "categories": slide.categories, "link": slide.link, "region_id": slide.region_id, "href": slide.href, "geo": slide.geo }) }} {% else %} {{ include("global/hotspot_slide.tpl", { "first": false, "background": slide.background, "background_xsmall": slide.background_xsmall, "background_small": slide.background_small, "background_medium": slide.background_medium, "background_large": slide.background_large, "type": slide.type, "title": slide.title, "categories": slide.categories, "link": slide.link, "region_id": slide.region_id, "href": slide.href, "geo": slide.geo }) }} {% endif %} {% endfor %} {% endblock %}