From f05b737cf066f2fec59be709059ffa17d2c34865 Mon Sep 17 00:00:00 2001 From: ebremner <ebremner@uwaterloo.ca> Date: Tue, 15 Jun 2021 21:39:46 -0400 Subject: [PATCH] ISTWCMS-4704: fixing contact --- source/_patterns/04-components/contact/contact.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_patterns/04-components/contact/contact.twig b/source/_patterns/04-components/contact/contact.twig index 93b09de3..f77fd427 100644 --- a/source/_patterns/04-components/contact/contact.twig +++ b/source/_patterns/04-components/contact/contact.twig @@ -9,9 +9,9 @@ {{ contact.title }} </h2> {% endif %} - {% if contact.position %} + {% if contact.sub_title %} <div class="uw-contact__position"> - {{ contact.position }} + {{ contact.sub_title }} </div> {% endif %} {% endblock %} @@ -20,7 +20,7 @@ <div class="uw-contact__info"> {% if contact.image %} <div class="uw-contact__image"> - <img src="{{ contact.image }} alt="{{ contact.title }}" /> + <img src="{{ contact.image.uri }} alt="{{ contact.title }}" /> </div> {% endif %} {% if contact.email or contact.phone %} -- GitLab