From 5e84ea2a06b918ea6ac686e4f4703f5d3f16993e Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sun, 5 Apr 2026 16:02:09 -0700 Subject: [PATCH] Make some fixes to broken visuals Signed-off-by: Danila Fedorin --- layouts/partials/summary.html | 2 +- layouts/shortcodes/sidenote.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 */ -}}