github.com/shohhei1126/hugo@v0.42.2-0.20180623210752-3d5928889ad7/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 -}}