From 7a53115ecc61d6b1c40be754ea2c19688b6f96a0 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Wed, 24 Feb 2016 01:03:32 +0100 Subject: Switch to table --- tmpl/index | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tmpl/index b/tmpl/index index dffc1c8..7a4eba5 100644 --- a/tmpl/index +++ b/tmpl/index @@ -1,9 +1,12 @@ {{define "title"}}Index{{end}} {{define "content"}} -
+ {{range .Pages}} -
{{.Name}}
-
{{.ModTime.Format "15:04 2 Jan 2006"}} — {{.Size}} bytes
+ + + + + {{end}} - +
{{.Name}}{{.ModTime.Format "2006 Jan 2 15:04"}}{{.Size}} bytes
{{end}} -- cgit v1.2.3