diff --git a/src/bundle/Core/Resources/views/default/content/embed.html.twig b/src/bundle/Core/Resources/views/default/content/embed.html.twig index a5b4fb3ac9..b94d19afba 100644 --- a/src/bundle/Core/Resources/views/default/content/embed.html.twig +++ b/src/bundle/Core/Resources/views/default/content/embed.html.twig @@ -5,7 +5,9 @@ {% else %} {% if location is defined %}

{{ content_name }}

- {% else %} + {% elseif content.contentInfo.mainLocationId is not null %}

{{ content_name }}

+ {% else %} +

{{ content_name }}

{% endif %} {% endif %}