aboutsummaryrefslogtreecommitdiff
path: root/tmpl/index
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/index')
-rw-r--r--tmpl/index8
1 files changed, 4 insertions, 4 deletions
diff --git a/tmpl/index b/tmpl/index
index bd9472a..d0fcf87 100644
--- a/tmpl/index
+++ b/tmpl/index
@@ -1,9 +1,9 @@
{{define "title"}}Index{{end}}
{{define "content"}}
-<ul>
+<dl>
{{range .Pages}}
- <li><a href="/view/{{.Name}}">{{.Name}}</a>
- ({{.ModTime.Format "2 Jan 2006"}})</li>
+ <dt><a href="/view/{{.Name}}">{{.Name}}</a></dt>
+ <dd>{{.ModTime.Format "2 Jan 2006"}}</dd>
{{end}}
-</ul>
+</dl>
{{end}}