18 lines
425 B
Plaintext
18 lines
425 B
Plaintext
{{define "index"}}
|
|
<html>
|
|
<body>
|
|
<h1>Index of /{{.Dir}}</h1>
|
|
<ul class="list-unstyled">
|
|
{{range .Props.Files}}
|
|
{{if .IsDir}}
|
|
<li><strong><a href="{{.Name}}/index.html">{{.Name}}</a></strong></li>
|
|
{{else}}
|
|
<li><a href="{{.Name}}">{{.Name}}</a></li>
|
|
{{end}}
|
|
{{end}}
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
{{end}}
|