diff --git a/layouts/partials/navigators/taxonomies.html b/layouts/partials/navigators/taxonomies.html index 857646c..5684f61 100644 --- a/layouts/partials/navigators/taxonomies.html +++ b/layouts/partials/navigators/taxonomies.html @@ -1,6 +1,5 @@ {{ $context := .context }} {{ $taxo := .taxo }} -{{ $title := .title }} {{ $class:= "" }} {{ if isset $context.Site.Taxonomies ( lower $taxo ) }} {{ $taxonomy := index $context.Site.Taxonomies ( lower $taxo ) }} @@ -8,6 +7,8 @@ {{ range $taxonomy }} {{if eq $context.Title .Page.Title}} {{ $class = "active" }} + {{else}} + {{$class = ""}} {{end}}
  • {{ .Page.Title }}
  • {{ end }}