diff --git a/layouts/shortcodes/include.html b/layouts/shortcodes/include.html index 5553ba9d86..a7dc2bf482 100644 --- a/layouts/shortcodes/include.html +++ b/layouts/shortcodes/include.html @@ -2,5 +2,6 @@ {{- $showFirstHeading := .Get 1 | default true }} {{- if not $showFirstHeading }}
{{ end }} -{{ $file | readFile | safeHTML -}} +{{ $file | readFile | safeHTML }} + {{- if not $showFirstHeading }}
{{ end }} \ No newline at end of file