diff --git a/layouts/partials/summary.html b/layouts/partials/summary.html index d8aabb4..4afb09b 100644 --- a/layouts/partials/summary.html +++ b/layouts/partials/summary.html @@ -1,5 +1,5 @@ {{- if .Params.summary -}} -{{ .Params.summary }} +{{ .Params.summary | markdownify | plainify }} {{- else -}} {{ .Summary | plainify | truncate 180 }} {{- end -}} diff --git a/layouts/shortcodes/sidenote.html b/layouts/shortcodes/sidenote.html index bbaad55..8983bb6 100644 --- a/layouts/shortcodes/sidenote.html +++ b/layouts/shortcodes/sidenote.html @@ -1,5 +1,6 @@ +{{- /* chomp trailing whitespace */ -}} {{- if $offset := .Get 3 -}} @@ -10,4 +11,6 @@ {{- .Inner -}} ] +{{- /* chomp trailing whitespace */ -}} +{{- /* chomp trailing whitespace */ -}}