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/root.tmpl | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'template/root.tmpl') diff --git a/template/root.tmpl b/template/root.tmpl index 461c82f..8bebe8e 100644 --- a/template/root.tmpl +++ b/template/root.tmpl @@ -18,7 +18,9 @@ {{template "title" .}} - + + + {{template "google"}} @@ -64,7 +66,7 @@

{{.Title}}

-

+

{{template "time" .Time}}

{{.HTML}} {{with .Authors}} @@ -74,3 +76,18 @@ {{end}}
{{end}} + +{{define "time"}} + +{{end}} + +{{define "list"}} +
+{{range .}} +
{{.Title}}
+
{{template "time" .Time}} + {{with .Tags}}
{{range .}}{{.}} {{end}}
{{end}} +
+{{end}} +
+{{end}} -- cgit v1.2.3