diff --git a/layouts/partials/hb/modules/blog/index.html b/layouts/partials/hb/modules/blog/index.html index 59b72623..8a68fac4 100644 --- a/layouts/partials/hb/modules/blog/index.html +++ b/layouts/partials/hb/modules/blog/index.html @@ -9,7 +9,7 @@ {{- end }} {{- $featuredPages := first $featuredCount (where $pages ".Params.featured" true) }} {{- if $featuredPages }} -
+
{{- $pinnedPages := first 1 (where $pages ".Params.pinned" true) }} {{- $hasPinned := and (ne $pinnedPos "list") (gt (len $pinnedPages) 0) }}