SandpointsTheme/layouts/edit/list.html

11 lines
215 B
HTML
Raw Normal View History

2021-02-14 03:18:03 +01:00
{{ define "edit" }}
{{ range (readDir ".") }}
{{ if .IsDir }}
<p>Dir: {{ .Name }}</p>
{{ partial "readdir.html" .Name }}
{{ else }}
<p>File: {{ .Name }}
{{ end }}
{{ end }}
{{ end }}