summaryrefslogtreecommitdiff
path: root/template/index.tmpl
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-06-20 00:42:47 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-06-20 00:42:47 +0200
commited1c9a830e54d040a88e4d574c192153cedb2f6d (patch)
tree9e41866df67660ba479ff83f0cafb4f4b75c740f /template/index.tmpl
parent4718ebd990396ffef022743888faf19977db09ce (diff)
Roll back list template
Diffstat (limited to 'template/index.tmpl')
-rw-r--r--template/index.tmpl9
1 files changed, 8 insertions, 1 deletions
diff --git a/template/index.tmpl b/template/index.tmpl
index 2e7f2cc..843a791 100644
--- a/template/index.tmpl
+++ b/template/index.tmpl
@@ -5,6 +5,13 @@
{{define "content"}}
<section>
<h2>{{template "title"}}</h2>
- {{template "list" .Data}}
+ <dl>
+ {{range .Data}}
+ <dt><a href="{{.Path}}">{{.Title}}</a></dt>
+ <dd>{{template "time" .Time}}
+ {{with .Tags}}<div class="tags">{{range .}}{{.}} {{end}}</div>{{end}}
+ </dd>
+ {{end}}
+ </dl>
</section>
{{end}}