From 8265c2576b6341fba5c4b98427f5300594393979 Mon Sep 17 00:00:00 2001
From: Eric Bremner <ebremner@uwaterloo.ca>
Date: Sun, 19 Sep 2021 19:35:53 +0000
Subject: [PATCH] ISTWCMS-5090: fixing contact and profile title displaying

---
 source/_patterns/04-components/card/card.twig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/source/_patterns/04-components/card/card.twig b/source/_patterns/04-components/card/card.twig
index daa60e3f..bfdd0d5d 100644
--- a/source/_patterns/04-components/card/card.twig
+++ b/source/_patterns/04-components/card/card.twig
@@ -36,10 +36,10 @@
               </a>
             {% endif %}
           </h{{ header_level }}>
+        {% endif %}
 
-          {% if sub_title %}
-            <span class="sub-title">{{ sub_title }}</span>
-          {% endif %}
+        {% if sub_title %}
+          <span class="sub-title">{{ sub_title }}</span>
         {% endif %}
 
         {% if author %}
-- 
GitLab