From 9f69656a3769e4266cdc8a6ca401e4399b7a0f30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Thu, 13 Dec 2018 13:25:26 -0500 Subject: [PATCH] Override unformatted view wrapper for embeds ... oohhh uggghhh we want this only for blog post listings *sob* --- .../views-view-unformatted--embed.html.twig | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 agaric/templates/views/views-view-unformatted--embed.html.twig diff --git a/agaric/templates/views/views-view-unformatted--embed.html.twig b/agaric/templates/views/views-view-unformatted--embed.html.twig new file mode 100644 index 0000000..547e221 --- /dev/null +++ b/agaric/templates/views/views-view-unformatted--embed.html.twig @@ -0,0 +1,33 @@ +{# +/** + * @file + * Default theme implementation for an unformatted view display. + * + * If the display is configured to use Display Suite's alternating view modes, + * column classes are added appropriate to the view modes. + * + * @see http://bulma.io/documentation/columns/basics + * + * 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() + * @ingroup themeable + */ +#} +{# + View rows can be configured to have default classes per view mode. A child + template may define view_modes, which will be merged with the + default_view_modes below. +#} +
+{% for row in rows %} + {{ row.content }} +{% endfor %} +