package plg_handler_site import "html/template" var TmplAutoindex = template.Must(template.New("autoindex").Parse(`
../`))
{{- range .Files -}} {{- if .IsDir -}} {{ printf "%-40.40s" (printf "%s/" .Name) }} {{- else -}} {{ printf "%-40.40s" .Name }} {{- end -}} {{ (.ModTime).Format "2006-01-02 15:04:05" }} {{ printf "%8d" .Size }}
{{- end }}