aboutsummaryrefslogtreecommitdiff
path: root/tmpl/index
blob: 7979e145a39e46c0442ad90e88be7774650aaa2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{{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}}
{{define "action"}}{{end}}