diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index 83b852b507..773dfab4d3 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -145,7 +145,7 @@ {{- end }} {{- safeHTML .Params.head }} {{- if $numberOfVisibleChildren }} - {{- $title := or .Params.menuTitle .LinkTitle .Title }} + {{- $title := or .LinkTitle .Title }} {{- $url := partial "relLangPrettyUglyURL.hugo" (dict "to" .) }} {{- $isCollapsible := or (.Params.collapsibleMenu | default .Site.Params.collapsibleMenu) (not $url) }} {{- $currentAlwaysopen := .Params.alwaysopen | default $alwaysopen }} diff --git a/layouts/partials/pageHelper/title.hugo b/layouts/partials/pageHelper/title.hugo index 51e664492c..c09c323798 100644 --- a/layouts/partials/pageHelper/title.hugo +++ b/layouts/partials/pageHelper/title.hugo @@ -1,13 +1,13 @@ {{- $title := "" }} {{- with .page }} {{- if .Params.menuTitle }} - {{- warnf "%q: DEPRECATED frontmatter 'menutitle' found, use 'linktitle' instead" $.File.Filename }} + {{- warnf "%q: UNSUPPORTED frontmatter 'menutitle' found, use 'linktitle' instead" $.File.Filename }} {{- end }} {{- $format := $.format | default (partial "get-format.hugo" .) }} {{- $outputFormat := $.outputFormat | default (partial "output-format.hugo" (dict "page" . "format" $format)) }} {{- $title = .Title }} {{- if $.linkTitle }} - {{- $title = or $.page.Params.menuTitle $.page.LinkTitle $title }} + {{- $title = or $.page.LinkTitle $title }} {{- end }} {{- if eq $outputFormat "searchpage" }}