From cc15f77c33a9ab6f377c57b0df3f28cf0d468df9 Mon Sep 17 00:00:00 2001 From: Eric Bremner <ebremner@uwaterloo.ca> Date: Fri, 21 Oct 2022 13:33:12 -0400 Subject: [PATCH] ISTWCMS-5880: fixing empty image div inside banners --- 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 a0b64b64..46b8a217 100644 --- a/src/patterns/04-components/card/card.twig +++ b/src/patterns/04-components/card/card.twig @@ -10,7 +10,7 @@ } %} {% endif %} - {% if image is not empty and bundle != 'uw_ct_profile' %} + {% if type != 'banner' and image is not empty and bundle != 'uw_ct_profile' %} {% include '@components/card/card-elements/_image.twig' with { 'image': image } %} -- GitLab