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