diff options
Diffstat (limited to 'http.go')
-rw-r--r-- | http.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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"), )) |