summaryrefslogtreecommitdiff
path: root/template/index.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/index.tmpl')
-rw-r--r--template/index.tmpl24
1 files changed, 0 insertions, 24 deletions
diff --git a/template/index.tmpl b/template/index.tmpl
deleted file mode 100644
index 1803dd5..0000000
--- a/template/index.tmpl
+++ /dev/null
@@ -1,24 +0,0 @@
-{{/* This file is combined with the root.tmpl to display the blog index. */}}
-
-{{define "title"}}Article index{{end}}
-
-{{define "content"}}
- <section>
- <h2>{{template "title"}}</h2>
- <ul class="list-group">
- {{range .Data}}
- <li class="list-group-item">
- <div class="d-flex justify-content-between">
- <a href="{{.Path}}">{{.Title}}</a>
- {{with .Tags}}
- <span>
- {{range .}}<span class="badge badge-default">{{.}}</span> {{end}}
- </span>
- {{end}}
- </div>
- <div>{{template "time" .Time}}</div>
- </li>
- {{end}}
- </ul>
- </section>
-{{end}}