summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.go b/main.go
index 208c9bc..7659cd5 100644
--- a/main.go
+++ b/main.go
@@ -14,8 +14,7 @@ var decoder = schema.NewDecoder()
var store = sessions.NewCookieStore([]byte(os.Getenv("FREEMAIL_SECRET")))
-var mainTempl = template.Must(template.New("global").Funcs(template.FuncMap{"add": add}).ParseGlob("./views/*.html"))
-var emailTempl = template.Must(template.New("email").Funcs(template.FuncMap{"add": add}).ParseGlob("./views/email/*.html"))
+var mainTempl = template.Must(template.New("global").Funcs(template.FuncMap{"add": add}).ParseGlob("./html/*.html"))
func add(x, y int) int {
return x + y