diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index 967fc6c006..a6be42fa6f 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -95,7 +95,7 @@ {{ $showvisitedlinks := .showvisitedlinks }} {{ $currentNode := .currentnode }} {{with .sect}} - {{if .IsSection}} + {{if and .IsSection ((not .Params.hidden) or $.showhidden)}} {{safeHTML .Params.head}}