From 04795ba8a8cee2287daf6d2691a96f07f5291f68 Mon Sep 17 00:00:00 2001 From: wodby <wodby@example.com> Date: Mon, 20 Sep 2021 16:07:29 +0000 Subject: [PATCH] ISTWCMS-5090: updating position on contact --- source/_patterns/04-components/card/card.twig | 2 +- source/_patterns/04-components/contact/contact.twig | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_patterns/04-components/card/card.twig b/source/_patterns/04-components/card/card.twig index 6065c815..a325aa84 100644 --- a/source/_patterns/04-components/card/card.twig +++ b/source/_patterns/04-components/card/card.twig @@ -15,7 +15,7 @@ {% endif %} <div class="card__body"> - {% if title or author or date or sub_title %} + {% if title or author or date or sub_title or position %} <div class="card__header"> {% if date %} <div class="card__date"> diff --git a/source/_patterns/04-components/contact/contact.twig b/source/_patterns/04-components/contact/contact.twig index f5b2d328..ccb62563 100644 --- a/source/_patterns/04-components/contact/contact.twig +++ b/source/_patterns/04-components/contact/contact.twig @@ -11,9 +11,9 @@ </a> </h2> {% endif %} - {% if contact.sub_title %} + {% if contact.position %} <span class="uw-contact__position"> - {{ contact.sub_title }} + {{ contact.position }} </span> {% endif %} {% endblock %} -- GitLab