{{ $title }}
@@ -11,7 +12,7 @@
{{- $fileDir := replace .Page.File.Dir "\\" "/" }}
{{- $pattern := .Get "pattern" | default "" }}
- {{- range (readDir (printf "content/%s%s" .Page.File.Dir $filesName) ) }}
+ {{- range sort (readDir (printf "content/%s%s" .Page.File.Dir $filesName) ) "Name" $sort }}
{{- if findRE $pattern .Name}}
{{- $size := .Size }}
{{- $unit := "Byte-symbol" }}