summaryrefslogtreecommitdiff
path: root/template/home.tmpl
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-04-06 14:59:25 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-04-06 14:59:25 +0200
commit1ca0e11c15d4b5692b9b95c660689fd245ee66bd (patch)
treeb386cfc06f73a9ce92b9bd977fa204342e13cbc9 /template/home.tmpl
parent8b0fb5ba05165d5d57e1fd474e40f18f9acf5fb6 (diff)
Add templates
Diffstat (limited to 'template/home.tmpl')
-rw-r--r--template/home.tmpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/template/home.tmpl b/template/home.tmpl
new file mode 100644
index 0000000..5b6867d
--- /dev/null
+++ b/template/home.tmpl
@@ -0,0 +1,11 @@
+{{/* This file is combined with the root.tmpl to display the blog home page. */}}
+
+{{define "title"}}dim-i-tri{{end}}
+{{define "content"}}
+ {{range .Data}}
+ {{template "doc" .}}
+ {{end}}
+ <footer>
+ <p>See the <a href="{{.BasePath}}/index">index</a> for more articles.</p>
+ </footer>
+{{end}}