diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f1d77aa..ac9d552 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -11,7 +11,7 @@ {{- end }} - {{- if and (ge (len (where .Site.Pages ".Params.pin" true)) 1) (.Site.Params.pinned) (ne .Kind "taxonomy") -}} + {{- if and (ge (len (where .Site.Pages ".Params.pin" true)) 1) (.Site.Params.pinned) (not (in .Page.RelPermalink (or "tags" "categories"))) -}}

{{- .Site.Params.pinned -}}

{{$pin_name := .Site.Params.pinnedSVGname | default "pin" }}