{{ $file := .Get 0}} {{ $filepath := replace $file "static/" ""}} {{ $syntax := index (split $file ".") 1 }} {{ $syntaxoverride := eq (len .Params) 2 }}
{{$filepath}}
{{- readFile $file -}}
Source