From 09f85ffd3eb84c605ef0b851a054fce310b9c8cf Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Fri, 19 Jun 2015 16:17:17 +0200 Subject: Update templates --- template/index.tmpl | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'template/index.tmpl') diff --git a/template/index.tmpl b/template/index.tmpl index a1ac5a0..d74f415 100644 --- a/template/index.tmpl +++ b/template/index.tmpl @@ -1,13 +1,10 @@ {{/* This file is combined with the root.tmpl to display the blog index. */}} {{define "title"}}Article index{{end}} + {{define "content"}} +

{{template "title"}}

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