aboutsummaryrefslogtreecommitdiff
path: root/tmpl/index
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/index')
-rw-r--r--tmpl/index9
1 files changed, 7 insertions, 2 deletions
diff --git a/tmpl/index b/tmpl/index
index 7a4eba5..e69a07d 100644
--- a/tmpl/index
+++ b/tmpl/index
@@ -1,12 +1,17 @@
{{define "title"}}Index{{end}}
{{define "content"}}
<table>
+<tr>
+ <th>Page</th>
+ <th>Last changed</th>
+ <th>Size</th>
+</tr>
{{range .Pages}}
- <tr>
+<tr>
<td><a href="/view/{{.Name}}">{{.Name}}</a></td>
<td>{{.ModTime.Format "2006 Jan 2 15:04"}}</td>
<td>{{.Size}} bytes</td>
- </tf>
+</tr>
{{end}}
</table>
{{end}}