{# /** * @file * Default theme implementation for the individual slick item/slide template. * * Available variables: * - attributes: An array of attributes to apply to the element. * - item.slide: A renderable array of the main image/background. * - item.caption: A renderable array containing caption fields if provided: * - title: The individual slide title. * - alt: The core Image field Alt as caption. * - link: The slide links or buttons. * - overlay: The image/audio/video overlay, or a nested slick. * - data: any possible field for more complex data if crazy enough. * - settings: An array containing the given settings. * * @see template_preprocess_slick_slide() */ #} {% set classes = [ 'slick__slide', 'slide', 'slide--' ~ delta, item.slide is empty ? 'slide--text', settings.layout ? 'slide--caption--' ~ settings.layout|clean_class, settings.class ? settings.class ] %} {% set content_classes = [ settings.detroy ? 'slide', not settings.detroy ? 'slide__content' ] %} {% set slide %} {% block slick_slide %} {% if settings.split and not settings.unslick %}
{% else %} {{ item.slide }} {% endif %} {% endblock %} {% endset %} {% if settings.wrapper %}