diff --git a/layouts/shortcodes/card.html b/layouts/shortcodes/card.html index 50204d61..7d0e5ac4 100644 --- a/layouts/shortcodes/card.html +++ b/layouts/shortcodes/card.html @@ -79,3 +79,4 @@
{{- $subtitle | markdownify -}}
{{- end -}} +{{- /* Strip trailing newline. */ -}} diff --git a/layouts/shortcodes/cards.html b/layouts/shortcodes/cards.html index 3b9e5fd4..3e9385ab 100644 --- a/layouts/shortcodes/cards.html +++ b/layouts/shortcodes/cards.html @@ -1,5 +1,5 @@ {{ $rows := .Get "rows" | default "3" }}
- {{ .Inner }} + {{- .Inner -}}