ref: 337d0c5f516ee085205e8abefdb7f87e6d33ca05 dir: /layouts/shortcodes/readfile.html/
{{$file := .Get "file"}} {{- if eq (.Get "markdown") "true" -}} {{- $file | readFile | markdownify -}} {{- else -}} {{ $file | readFile | safeHTML }} {{- end -}}