diff --git a/layouts/partials/hb/modules/blog/index.html b/layouts/partials/hb/modules/blog/index.html
index 3cdd5ad6..408d9cc3 100644
--- a/layouts/partials/hb/modules/blog/index.html
+++ b/layouts/partials/hb/modules/blog/index.html
@@ -8,7 +8,7 @@
{{- if $featuredPages }}
{{- $pinnedPages := first 1 (where $pages ".Params.pinned" true) }}
- {{- $hasPinned := and (ne $pinnedPos "list") $pinnedPages }}
+ {{- $hasPinned := and (ne $pinnedPos "list") (gt (len $pinnedPages) 0) }}
{{- partial "hb/modules/carousel/carousel" (dict "Pages" $featuredPages) -}}