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