diff --git a/layouts/partials/navbar/site-nav.html b/layouts/partials/navbar/site-nav.html index bd02ec3..df0a575 100644 --- a/layouts/partials/navbar/site-nav.html +++ b/layouts/partials/navbar/site-nav.html @@ -26,6 +26,7 @@ {{ $active := or ($current.IsMenuCurrent "main" .) ($current.HasMenuCurrent "main" .) }} {{ $active = or $active (eq .Name $current.Title) }} {{ $active = or $active (eq (lower .URL) (lower $current.Title)) }} + {{ $active = or $active (eq (lower .URL) (lower $current.Type)) }} {{ if .HasChildren }}