From 1ba3ab2074ed5a15eb79581ac79df9129dfbbc0b Mon Sep 17 00:00:00 2001 From: Eric Bremner <ebremner@uwaterloo.ca> Date: Thu, 20 Oct 2022 09:29:08 -0400 Subject: [PATCH] ISTWCMS-5880: adding bundle to node --- src/patterns/04-components/card/card.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/patterns/04-components/card/card.twig b/src/patterns/04-components/card/card.twig index c2ae20fc..e8d63d73 100644 --- a/src/patterns/04-components/card/card.twig +++ b/src/patterns/04-components/card/card.twig @@ -1,4 +1,4 @@ -<article class="card{% if type %} card__{{ type }} {% endif %}{% if modifier_classes %} card__{{ modifier_classes }}{% endif %}{% if show_hover %} card--show-hover{% endif %}" {% if type == 'banner' %} id="{{ type }}{{ loop.index }}-{{ banners.uuid }}"{% endif %}> +<article class="card{% if type %} card__{{ type }} {% endif %}{% if modifier_classes %} card__{{ modifier_classes }}{% endif %}{% if show_hover %} card--show-hover{% endif %} card__node--{{ bundle }}" {% if type == 'banner' %} id="{{ type }}{{ loop.index }}-{{ banners.uuid }}"{% endif %}> {% if media_flags.has_media and media.media is not empty %} {% include '@components/card/card-elements/_media.twig' with { -- GitLab