{{ define "edit" }}
  {{ range (readDir ".") }}
    {{ if .IsDir }}
      <p>Dir: {{ .Name }}</p>
      {{ partial "readdir.html" .Name }}
    {{ else }}
    <p>File: {{ .Name }}
    {{ end }}
  {{ end }}
{{ end }}
