aboutsummaryrefslogtreecommitdiff
path: root/tmpl/index
blob: e69a07d1bc27998b9e1bad3bc3a716f2fe706a4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{define "title"}}Index{{end}}
{{define "content"}}
<table>
<tr>
	<th>Page</th>
	<th>Last changed</th>
	<th>Size</th>
</tr>
{{range .Pages}}
<tr>
	<td><a href="/view/{{.Name}}">{{.Name}}</a></td>
	<td>{{.ModTime.Format "2006 Jan 2 15:04"}}</td>
	<td>{{.Size}} bytes</td>
</tr>
{{end}}
</table>
{{end}}