Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Fix default template location in install

Kailash Nadh1ca8c2faf22b
diff --git a/install.go b/install.go
index 400ce243..e24483bb 100644
--- a/install.go
+++ b/install.go
@@ -66,7 +66,7 @@ func install(app *App, qMap goyesql.Queries) {
}
// Default template.
- tplBody, err := ioutil.ReadFile("templates/default.tpl")
+ tplBody, err := ioutil.ReadFile("email-templates/default.tpl")
if err != nil {
tplBody = []byte(tplTag)
}