aboutsummaryrefslogtreecommitdiff
path: root/tmpl/index
diff options
context:
space:
mode:
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}}