aboutsummaryrefslogtreecommitdiff
path: root/tmpl/index
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-02-16 18:43:22 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-02-16 18:43:22 +0100
commit8bf5d9d2c82560c81be6809522215bded0cf9911 (patch)
tree82df16f1e2b3d130b63a910df55e22a124d56c5b /tmpl/index
Inital import
Diffstat (limited to 'tmpl/index')
-rw-r--r--tmpl/index8
1 files changed, 8 insertions, 0 deletions
diff --git a/tmpl/index b/tmpl/index
new file mode 100644
index 0000000..d95deca
--- /dev/null
+++ b/tmpl/index
@@ -0,0 +1,8 @@
+{{define "title"}}Index{{end}}
+{{define "content"}}
+<ul>
+{{range .Pages}}
+<li><a href="/view/{{.}}">{{.}}</a></li>
+{{end}}
+</ul>
+{{end}}