From c3e64686145b5b2c31e72a182b3f8ff6c3ae3ef9 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 26 Dec 2017 13:04:18 +0100 Subject: Switch to bootstrap --- template/index.tmpl | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'template/index.tmpl') diff --git a/template/index.tmpl b/template/index.tmpl index 843a791..1803dd5 100644 --- a/template/index.tmpl +++ b/template/index.tmpl @@ -3,15 +3,22 @@ {{define "title"}}Article index{{end}} {{define "content"}} -
+

{{template "title"}}

-
+
    {{range .Data}} -
    {{.Title}}
    -
    {{template "time" .Time}} - {{with .Tags}}
    {{range .}}{{.}} {{end}}
    {{end}} -
    +
  • +
    + {{.Title}} + {{with .Tags}} + + {{range .}}{{.}} {{end}} + + {{end}} +
    +
    {{template "time" .Time}}
    +
  • {{end}} -
-
+ +
{{end}} -- cgit v1.2.3