diff --git a/packages/typo3-docs-theme/resources/template/structure/navigation/menu-level.html.twig b/packages/typo3-docs-theme/resources/template/structure/navigation/menu-level.html.twig index bcf1a2b55..f1f174721 100644 --- a/packages/typo3-docs-theme/resources/template/structure/navigation/menu-level.html.twig +++ b/packages/typo3-docs-theme/resources/template/structure/navigation/menu-level.html.twig @@ -1,3 +1,4 @@ +{%- if menu.currentPath == entry.url or entry.url in menu.rootlinePaths %} +{%- else -%} +
  • + + {{ renderPlainText(menuEntry.value) }} + + + {%- if menuEntry.children|length and menuEntry.level < 2 %} + + {%- endif -%} +
  • +{%- endif -%}