From ad1e3b7c2e8d6f3cf36013ad23eb51c476a3c340 Mon Sep 17 00:00:00 2001 From: Eric Bremner <ebremner@uwaterloo.ca> Date: Mon, 17 Oct 2022 13:41:36 -0400 Subject: [PATCH] ISTWCMS-5880: fixing double print of title --- 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 262a605f..1838f804 100644 --- a/src/patterns/04-components/card/card.twig +++ b/src/patterns/04-components/card/card.twig @@ -4,7 +4,7 @@ {% if type == 'teaser' %} {% set show_title = 'yes' %} -{% elseif media and media.type == 'image' %} +{% elseif media and (media.type == 'image' or media.type == 'banner') %} {% set show_title = 'no' %} {% set show_header = 'no' %} {% else %} -- GitLab