add list template

This commit is contained in:
root committed 2019-02-26 17:43:18 +08:00
1 parent c67e110c7e
commit bc5458daba
2 files changed
+13

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
{{ template "head.tmpl" . }}
<h3>Index Of {{ .path }}</h3>
<hr />
<pre>
{{ range .list }}
<a href="/v{{ parsePath $.path }}/{{ .Name }}">{{ .Name }}</a>
{{ end }}
</pre>
{{ template "foot.tmpl" . }}