diff --git a/templates/base.html.twig b/templates/base.html.twig index 65dd5765..4c2de693 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -163,7 +163,7 @@ {% block pre_footer %}{% endblock %} {% block crosslinks %} - {% if crosslinks is defined and crosslinks|length > 0 %} + {% if crosslinks is defined and crosslinks['links'] is defined and crosslinks['links']|length > 0 %} {{ include('@W3CWebsiteTemplates/components/styles/crosslinks.html.twig') }} {% endif %} {% endblock crosslinks %}