diff --git a/templates/views/views-view-unformatted--uw-view-events--event-page.html.twig b/templates/views/views-view-unformatted--uw-view-events--event-page.html.twig new file mode 100644 index 0000000000000000000000000000000000000000..82083c98da592fa0cb60354626242770f5b65d5b --- /dev/null +++ b/templates/views/views-view-unformatted--uw-view-events--event-page.html.twig @@ -0,0 +1,32 @@ +{# +/** + * @file + * Theme override to display a view of unformatted rows. + * + * Available variables: + * - title: The title of this group of rows. May be empty. + * - rows: A list of the view's row items. + * - attributes: The row's HTML attributes. + * - content: The row's content. + * - view: The view object. + * - default_row_class: A flag indicating whether default classes should be + * used on rows. + * + * @see template_preprocess_views_view_unformatted() + */ +#} +{% if title %} + <h3>{{ title }}</h3> +{% endif %} +{% for data in node_data %} + {% + set row_classes = [ + default_row_class ? 'views-row', + ] + %} + <div class="views-row"> + {% include '@components/card/card--teaser/card--teaser.twig' with { + 'teaser': data, + } %} + </div> +{% endfor %}