From a77a8d4cf735e8650381e43c6093aac29979251f Mon Sep 17 00:00:00 2001 From: wodby <wodby@example.com> Date: Wed, 23 Jun 2021 15:24:06 +0000 Subject: [PATCH] adding logic to card to check for card_type on single image output --- source/_patterns/04-components/card/card.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_patterns/04-components/card/card.twig b/source/_patterns/04-components/card/card.twig index 32a73dd0..1e5f8e16 100644 --- a/source/_patterns/04-components/card/card.twig +++ b/source/_patterns/04-components/card/card.twig @@ -72,7 +72,7 @@ </div> {% endif %} - {% if image %} + {% if image and not card_type =='banner' %} <div class="card__image"> <img src="{{ image }}" alt="{{ alt }}" /> </div> -- GitLab