aboutsummaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'http.go')
-rw-r--r--http.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/http.go b/http.go
index adaabc7..bdac799 100644
--- a/http.go
+++ b/http.go
@@ -19,18 +19,21 @@ var funcMap = template.FuncMap{
var indexTemp = template.Must(template.New("index.html").Funcs(funcMap).ParseFiles(
filepath.Join(templateDir, "layout.html"),
filepath.Join(templateDir, "index.html"),
+ filepath.Join(templateDir, "topics.html"),
filepath.Join(templateDir, "list.html"),
))
var adminTemp = template.Must(template.New("admin.html").Funcs(funcMap).ParseFiles(
filepath.Join(templateDir, "admin.html"),
filepath.Join(templateDir, "layout.html"),
+ filepath.Join(templateDir, "topics.html"),
filepath.Join(templateDir, "list.html"),
))
var editTemp = template.Must(template.New("admin-edit.html").Funcs(funcMap).ParseFiles(
filepath.Join(templateDir, "admin-edit.html"),
filepath.Join(templateDir, "layout.html"),
+ filepath.Join(templateDir, "topics.html"),
filepath.Join(templateDir, "list.html"),
))