<!-- Error rendering component -->
<!-- TwigException: Unable to parse '=> "data-#{k}=#{v}")|join(' ') ~ ' ' : ''' at template position71 -->
<!-- Error: TwigException: Unable to parse '=> "data-#{k}=#{v}")|join(' ') ~ ' ' : ''' at template position71
    at /builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/twig/src/adapter.js:156:24
    at new Promise (<anonymous>)
    at TwigAdapter.render (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/twig/src/adapter.js:134:16)
    at ComponentSource._renderVariant (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/fractal/src/api/components/source.js:212:30)
    at _renderVariant.next (<anonymous>)
    at onFulfilled (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/co/index.js:65:19) -->
{# @var gallery_image_slider ThemeViews\Organisms\galleryImageSlider\GalleryImageSliderViewModel #}
{% extends '@atoms/section/section.twig' %}
{% set className = "gallery-image-slider n-" ~ gallery_image_slider.slides|length %}
{% set hidden = gallery_image_slider.slides|length == 0 and gallery_image_slider.logo is empty %}
{% block content %}
    <div class="standard-grid">
        <div class="col-span-12">
            <div class="slider">
                <div class="swiper-wrapper">
                    {% if gallery_image_slider.logo is not empty %}
                        <div class="swiper-slide">
                            {% include '@molecules/mediaItem/media_item.twig' with {
                                picture: gallery_image_slider.logo,
                                disableReporting: true
                            } only %}
                        </div>
                    {% endif %}
                    {% for slide in gallery_image_slider.slides %}
                        <div class="swiper-slide">
                            {% include '@molecules/mediaItem/media_item.twig' with {
                                picture: slide
                            } only %}
                        </div>
                    {% endfor %}
                </div>
            </div>
            {% if gallery_image_slider.slides|length > 1 %}
                <div class="swiper-pagination"></div>
            {% endif %}
        </div>
    </div>
{% endblock %}
/* No context defined. */
  • Handle: @gallery_image_slider
  • Preview:
  • Filesystem Path: resources/Views/Organisms/galleryImageSlider/gallery_image_slider.twig

{% include '@organisms/gallery_image_slider/gallery_image_slider.twig' with {

    } only %}

ACF

Fields