add list template
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
vendor/
|
||||
config.yml
|
||||
*.swp
|
||||
|
||||
@@ -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" . }}
|
||||
Reference in New Issue
Block a user