From 55614246d939fd0d2695104cdb6d3b3e04b88a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Thu, 16 Nov 2023 22:50:35 +0100 Subject: [PATCH] include: fix whitespacing in codefences #723 --- layouts/partials/shortcodes/include.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/shortcodes/include.html b/layouts/partials/shortcodes/include.html index 92255754bc..f124973fe5 100644 --- a/layouts/partials/shortcodes/include.html +++ b/layouts/partials/shortcodes/include.html @@ -9,11 +9,11 @@ {{- $hideFirstHeading = (eq $hideFirstHeading "true") }} {{- end }} {{- if and (gt (len (trim $file " ")) 0) (fileExists $file) }} - {{- if $hideFirstHeading }}
{{ end }} + {{- if $hideFirstHeading }}
+ +{{ end }} {{- with $page }} - -{{ $file | readFile | safeHTML }} - +{{- $file | readFile | safeHTML }} {{- end }} {{- if $hideFirstHeading }}
{{ end }} {{- end }} \ No newline at end of file