diff --git a/layouts/partials/navigators/taxonomies.html b/layouts/partials/navigators/taxonomies.html index 53663a8..857646c 100644 --- a/layouts/partials/navigators/taxonomies.html +++ b/layouts/partials/navigators/taxonomies.html @@ -1,11 +1,15 @@ {{ $context := .context }} {{ $taxo := .taxo }} {{ $title := .title }} +{{ $class:= "" }} {{ if isset $context.Site.Taxonomies ( lower $taxo ) }} {{ $taxonomy := index $context.Site.Taxonomies ( lower $taxo ) }} {{ if (gt (len $taxonomy) 0)}} {{ range $taxonomy }} -
  • {{ .Page.Title }}
  • + {{if eq $context.Title .Page.Title}} + {{ $class = "active" }} + {{end}} +
  • {{ .Page.Title }}
  • {{ end }} {{ end }} {{ end }}