From e8a0d000c37b0dead0d94c9c1917d01fd747eebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Fri, 26 Apr 2024 21:53:26 +0200 Subject: [PATCH] theme: don't use menuTitle anymore #714 --- layouts/partials/menu.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" . }}