diff --git a/layouts/partials/bootstrap/icon-grid.html b/layouts/partials/bootstrap/icon-grid.html index 499615f..1750812 100644 --- a/layouts/partials/bootstrap/icon-grid.html +++ b/layouts/partials/bootstrap/icon-grid.html @@ -17,7 +17,7 @@ {{- end }} {{- $data := partialCached "bootstrap/functions/data" (dict "key" $key "page" .Page) .Page $key }} {{- with $data }} -
+
{{- range sort . "weight" }}
{{- $icon := "" }} @@ -26,10 +26,10 @@ "width" "1.25em" "height" "1.25em" "vendor" "bootstrap" - "className" "me-2") .) + "className" "bs-icon-grid-item-icon me-2") .) }} {{- if isset . "className" }} - {{- $iconOpts = merge $iconOpts (dict "className" (printf "%s me-2" (.className)))}} + {{- $iconOpts = merge $iconOpts (dict "className" (printf "bs-icon-grid-item-icon me-2 %s" (.className)))}} {{- end }} {{- $icon = partial "icons/icon" $iconOpts }} {{- end }} @@ -48,22 +48,22 @@ {{- end }} {{- if and $link (eq $linkText "") }} -
+
{{- $icon -}}{{- .title -}}
-

+

{{ .description | markdownify }}

{{ else }} -
-
+
+
{{- $icon -}}{{- .title -}}
-

+

{{ .description | markdownify }}

{{- with $link }}