<!-- 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 recent_uploads ThemeViews\Organisms\recentUploads\RecentUploadsViewModel #}
{% extends '@atoms/section/section.twig' %}
{% set className = "recent-uploads" %}
{% set hidden = recent_uploads.slides|length < 1 %}
{% block content %}
    <div class="standard-grid">
        <div class="col-span-12">
            {% include '@atoms/headline/headline.twig' with {
                headline: recent_uploads.headline,
                type: 'h3',
                ignoreTypeMap: true,
                className: 'headline--xl mb-2'
            } %}
            <div class="slider">
                <div class="swiper-wrapper">
                    {% for slide in recent_uploads.slides %}
                        <div class="swiper-slide">
                            {% include '@molecules/mediaItem/media_item.twig' with {
                                id: slide.id,
                                link: slide.link,
                                picture: slide.image,
                                member_avatar: slide.member
                            } only %}
                        </div>
                    {% endfor %}
                </div>
            </div>
            {% if recent_uploads.slides|length > 1 %}
                <div class="swiper-pagination"></div>
            {% endif %}
        </div>
    </div>
{% endblock %}
/* No context defined. */
  • Handle: @recent_uploads
  • Preview:
  • Filesystem Path: resources/Views/Organisms/recentUploads/recent_uploads.twig

Recent uploads

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

    } only %}

ACF

Fields