diff --git a/layouts/shortcodes/card.html b/layouts/shortcodes/card.html index 110096a..2bce2dd 100644 --- a/layouts/shortcodes/card.html +++ b/layouts/shortcodes/card.html @@ -1,9 +1,7 @@ {{- $title := .Get "title" -}}
- {{- if $title -}} -

{{ $title }}

- {{- end -}} -
- {{ .Inner | markdownify }} -
+{{- if $title -}} +

{{ $title }}

+{{- end -}} +
{{ .Inner | markdownify }}
diff --git a/layouts/shortcodes/featureblock.html b/layouts/shortcodes/featureblock.html index ac7ec98..27d352d 100644 --- a/layouts/shortcodes/featureblock.html +++ b/layouts/shortcodes/featureblock.html @@ -1,9 +1,7 @@ {{- $title := .Get "title" -}}
- {{- if $title -}} -

{{ $title }}

- {{- end -}} -
- {{ .Inner | markdownify }} -
+{{- if $title -}} +

{{ $title }}

+{{- end -}} +
{{ .Inner | markdownify }}