aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-02-17 01:21:00 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-02-17 01:21:00 +0100
commit525ef61eca5f36f6a6993fe9ec238efbdefb386e (patch)
tree15040d195e5c56d2439b2f49218580626097c547
parent2a6aed83674637be844cab00ad72cb2444538ce0 (diff)
move size into second line
-rw-r--r--tmpl/index4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmpl/index b/tmpl/index
index 279fac8..dffc1c8 100644
--- a/tmpl/index
+++ b/tmpl/index
@@ -2,8 +2,8 @@
{{define "content"}}
<dl>
{{range .Pages}}
- <dt><a href="/view/{{.Name}}">{{.Name}}</a> {{.Size}} bytes</dt>
- <dd>{{.ModTime.Format "15:04 2 Jan 2006"}}</dd>
+ <dt><a href="/view/{{.Name}}">{{.Name}}</a></dt>
+ <dd>{{.ModTime.Format "15:04 2 Jan 2006"}} &mdash; {{.Size}} bytes</dd>
{{end}}
</dl>
{{end}}