diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index 773dfab4d3..532bfebb30 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -159,7 +159,7 @@ {{- template "section-tree-nav" dict "sect" . "currentnode" $currentNode "showvisitedlinks" $showvisitedlinks "alwaysopen" $defaultAlwaysopen }} {{- end }} {{- else }} - {{- $title := or .Params.menuTitle .LinkTitle .Title }} + {{- $title := or .LinkTitle .Title }} {{- $url := partial "relLangPrettyUglyURL.hugo" (dict "to" .) }}
  • {{ if $url }}{{ else }}{{ end }} {{- partial "menu-pre.html" . }}{{ $title }}{{ partial "menu-post.html" . }}