diff --git a/core/modules/system/templates/links.html.twig b/core/modules/system/templates/links.html.twig index 21ab95d..9b490c4 100644 --- a/core/modules/system/templates/links.html.twig +++ b/core/modules/system/templates/links.html.twig @@ -36,7 +36,7 @@ * @ingroup themeable */ #} -{% if links -%} +{% if links %} {%- if heading -%} {%- if heading.level -%} <{{ heading.level }}{{ heading.attributes }}>{{ heading.text }} @@ -57,4 +57,4 @@ {%- endfor -%} -{%- endif %} +{% endif %} diff --git a/core/themes/classy/templates/navigation/links.html.twig b/core/themes/classy/templates/navigation/links.html.twig index 5f62ac3..f00f3d9 100644 --- a/core/themes/classy/templates/navigation/links.html.twig +++ b/core/themes/classy/templates/navigation/links.html.twig @@ -34,7 +34,7 @@ * @see template_preprocess_links() */ #} -{% if links -%} +{% if links %} {%- if heading -%} {%- if heading.level -%} <{{ heading.level }}{{ heading.attributes }}>{{ heading.text }} @@ -55,4 +55,4 @@ {%- endfor -%} -{%- endif %} +{% endif %}