diff --git a/source/_patterns/04-components/contact/contact.twig b/source/_patterns/04-components/contact/contact.twig index 93b09de310765d6e214fb900b89c42d1fc1aad49..f77fd4270052200f565599cd97e6e20e06b8f4d7 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 %}