diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index 0f9c8f8a5a..5583eda0b9 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -97,7 +97,7 @@ {{ $currentFileUniqueID := "" }} {{ with $currentNode.File }}{{ $currentFileUniqueID = .UniqueID }}{{ end }} {{with .sect}} - {{if and .IsSection ((not .Params.hidden) or $.showhidden)}} + {{if and .IsSection (or (not .Params.hidden) $.showhidden)}} {{safeHTML .Params.head}}