From 8d054dd905ce7a7b726743cb051e7d4a7237b968 Mon Sep 17 00:00:00 2001 From: escuriola Date: Fri, 15 Jul 2022 09:38:17 +0200 Subject: [PATCH] OEL-1552: Moving the empty condition outside the wrapper div. --- .../node--oe-sc-person--oe-w-content-banner.html.twig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/content/node--oe-sc-person--oe-w-content-banner.html.twig b/templates/content/node--oe-sc-person--oe-w-content-banner.html.twig index 6173fe23b..a9b8ae8ad 100644 --- a/templates/content/node--oe-sc-person--oe-w-content-banner.html.twig +++ b/templates/content/node--oe-sc-person--oe-w-content-banner.html.twig @@ -6,8 +6,8 @@ #} {% set _content %} {{ content.oe_summary }} -
- {% if social_links is not empty %} + {% if social_links is not empty %} +
{% for _link in social_links %}
{{ pattern('link', _link|merge( @@ -17,8 +17,8 @@ ) ) }}
{% endfor %} - {% endif %} -
+
+ {% endif %} {% endset %} {{ pattern('content_banner', {