diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index 859a3bb63b..0d135d4efc 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -105,11 +105,11 @@ {{ $alwaysopen := .alwaysopen }} {{ with $currentNode.File }}{{ $currentFileUniqueID = .UniqueID }}{{ end }} {{with .sect}} - {{ $page_hidden := and (or (.Params.hidden) (eq .Title "")) (not $.showhidden) }} + {{ $hidden := and (or (.Params.hidden) (eq .Title "")) (not $.showhidden) }} {{if .IsSection }} {{safeHTML .Params.head}} {{ $currentAlwaysopen := .Params.alwaysopen | default $alwaysopen }} -