summaryrefslogtreecommitdiff
path: root/dir.html
diff options
context:
space:
mode:
authorache <ache@ache.one>2019-02-12 06:25:54 +0100
committerache <ache@ache.one>2019-02-12 06:25:54 +0100
commite187a3e94c9f381b58854cc5429d40cac14e6800 (patch)
treed83bd0856ce49e69b0e16c169f71ddcf11da8c01 /dir.html
parentHandle Method (diff)
Manage GET (the base)
Diffstat (limited to 'dir.html')
-rw-r--r--dir.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/dir.html b/dir.html
new file mode 100644
index 0000000..b570d3e
--- /dev/null
+++ b/dir.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ {{if .Name}}<title>{{ .Name }}</title>{{end}}
+ </head>
+ <body>
+<pre>{{range .ListEntries}}
+<a href="{{ .Name }}">{{ .Name }}</a> {{ .Size }}{{end}}
+</pre>
+ </body>
+</html>