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