44,84d43 < diff --git a/core/themes/classy/templates/navigation/links.html.twig b/core/themes/classy/templates/navigation/links.html.twig < index c1bff6b..b9ff05a 100644 < --- a/core/themes/classy/templates/navigation/links.html.twig < +++ b/core/themes/classy/templates/navigation/links.html.twig < @@ -32,24 +32,24 @@ < */ < #} < {% if links -%} < - {%- if heading -%} < - {%- if heading.level -%} < + {% if heading %} < + {% if heading.level %} < <{{ heading.level }}{{ heading.attributes }}>{{ heading.text }} < - {%- else -%} < + {% else %} < {{ heading.text }} < - {%- endif -%} < - {%- endif -%} < + {% endif %} < + {% endif %} < < - {%- for item in links -%} < + {% for item in links %} < < - {%- if item.link -%} < + {% if item.link %} < {{ item.link }} < - {%- elseif item.text_attributes -%} < + {% elseif item.text_attributes %} < {{ item.text }} < - {%- else -%} < + {% else %} < {{ item.text }} < - {%- endif -%} < + {% endif %} < < - {%- endfor -%} < + {% endfor %} < < -{%- endif %} < +{% endif %}