diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 161289cc..57bcbf66 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -8,9 +8,13 @@
{{ partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-main-begin" "Page" .) }} {{ partialCached "hb/modules/blog/term/profile" . . }} -
+ {{- $cols := "row-cols-1 row-cols-md-2" }} + {{- if not (partialCached "hb/modules/blog/functions/has-sidebar" .) }} + {{- $cols = printf "%s row-cols-lg-3" $cols }} + {{- end }} +
{{- range .Paginator.Pages }} -
+
{{ partial "hb/modules/blog/post/card" (dict "Page" .) }}
{{- end }}