diff --git a/config/sync/views.view.testimonials.yml b/config/sync/views.view.testimonials.yml index c943d3ab0..d9e0a98ca 100644 --- a/config/sync/views.view.testimonials.yml +++ b/config/sync/views.view.testimonials.yml @@ -163,7 +163,14 @@ display: value: testimonial: testimonial style: - type: default + type: html_list + options: + row_class: '' + default_row_class: false + uses_fields: false + type: ul + wrapper_class: item-list + class: '' row: type: 'entity:node' options: diff --git a/themes/opdavies/templates/views-view-list--testimonials.html.twig b/themes/opdavies/templates/views-view-list--testimonials.html.twig new file mode 100644 index 000000000..1059220fe --- /dev/null +++ b/themes/opdavies/templates/views-view-list--testimonials.html.twig @@ -0,0 +1,44 @@ +{# +/** + * @file + * Default theme implementation for a view template to display a list of rows. + * + * Available variables: + * - attributes: HTML attributes for the container. + * - rows: A list of rows for this list. + * - attributes: The row's HTML attributes. + * - content: The row's contents. + * - title: The title of this group of rows. May be empty. + * - list: @todo. + * - type: Starting tag will be either a ul or ol. + * - attributes: HTML attributes for the list element. + * + * @see template_preprocess_views_view_list() + * + * @ingroup themeable + */ +#} +{% if attributes -%} +