From 026f94bf6e51ead921a34b8f49948a622093afed Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Sun, 5 May 2024 14:32:54 -0700 Subject: [PATCH] Fix grid item --- layouts/partials/_elements/item.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/_elements/item.html b/layouts/partials/_elements/item.html index aa606629..c4bd870a 100644 --- a/layouts/partials/_elements/item.html +++ b/layouts/partials/_elements/item.html @@ -1,15 +1,15 @@ {{- $columns := default "" .columns -}} {{- if eq $columns ""}} -
+
{{- else if eq $columns "auto"}} -
+
{{- else }} {{- $columns := split $columns " " }} {{- $xs := index $columns 0 }} {{- $sm := index $columns 1 }} {{- $md := index $columns 2 }} {{- $lg := index $columns 3 }} -
+
{{- end }}
{{- with (trim .body "\n") }}