diff --git a/layouts/partials/hb/modules/blog/post/card.html b/layouts/partials/hb/modules/blog/post/card.html index d2b7d504..9f4e54fa 100644 --- a/layouts/partials/hb/modules/blog/post/card.html +++ b/layouts/partials/hb/modules/blog/post/card.html @@ -16,7 +16,7 @@ {{- if default true site.Params.hb.blog.post_thumbnail }} {{ partial "hb/modules/blog/post/card-img" $page }} {{- end }} -
+
{{- if $truncated }} -
+ diff --git a/layouts/partials/hb/modules/blog/posts.html b/layouts/partials/hb/modules/blog/posts.html index 203be120..2a7f245f 100644 --- a/layouts/partials/hb/modules/blog/posts.html +++ b/layouts/partials/hb/modules/blog/posts.html @@ -1,7 +1,7 @@ {{- $cols := default "row-cols-1 row-cols-lg-2 row-cols-xl-3" .Cols }} -
+
{{ range .Pages }} -
+
{{- $ctx := dict "Page" . }} {{ partial "hb/modules/blog/post/card" $ctx }}