github.com/rabbouni145/gg@v0.47.1/docs/themes/gohugoioTheme/layouts/shortcodes/readfile.html (about) 1 {{$file := .Get "file"}} 2 {{- if eq (.Get "markdown") "true" -}} 3 {{- $file | readFile | markdownify -}} 4 {{- else -}} 5 {{ $file | readFile | safeHTML }} 6 {{- end -}}