diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 760b79e..f39c6ab 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -11,8 +11,7 @@ {{ range .Site.Menus.nav }}
  • {{ $active := or ($current.IsMenuCurrent "nav" .) ($current.HasMenuCurrent "nav" .) }} - {{ $active = or $active (eq .Name $current.Title) }} - {{ $active = or $active (and (eq .Name "Blog") (eq $current.Section "post")) }} + {{ $active = or $active (eq .URL $current.URL) }} {{ $active = or $active (and (eq .Name "Tags") (eq $current.Section "tags")) }}
  • {{ end }} - \ No newline at end of file +