{{ range (readDir (printf "./content/%s%s" .Page.File.Dir ($.Scratch.Get "filesName")) ) }}
{{ $fileDir := replace $.Page.File.Dir "\\" "/" }}
{{if ($.Get "pattern")}}
{{if (findRE ($.Get "pattern") .Name)}}
{{.Name}}
({{div .Size 1024 }} ko)
{{end}}
{{else}}
{{.Name}}
({{div .Size 1024 }} ko)
{{end}}
{{end}}
{{.Inner}}