summaryrefslogtreecommitdiff
path: root/static/emailtemplates.go
diff options
context:
space:
mode:
Diffstat (limited to 'static/emailtemplates.go')
-rw-r--r--static/emailtemplates.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/static/emailtemplates.go b/static/emailtemplates.go
index 330b3d496..5e3cf0688 100644
--- a/static/emailtemplates.go
+++ b/static/emailtemplates.go
@@ -9,11 +9,19 @@ import (
//go:embed "emailconfirm.html.tmpl"
var emailConfirmTemplate []byte
+//go:embed "golive.html.tmpl"
+var goLiveTemplate []byte
+
// GetEmailConfirmTemplate will return the email confirmation template.
func GetEmailConfirmTemplate() string {
return string(getFileSystemStaticFileOrDefault("emailconfirm.html.tmpl", emailConfirmTemplate))
}
+// GetEmailLiveTemplate will return the email live template.
+func GetEmailLiveTemplate() string {
+ return string(getFileSystemStaticFileOrDefault("golive.html.tmpl", goLiveTemplate))
+}
+
// GetEmailConfirmTemplateWithContent will return the email confirmation
// template with content populated.
func GetEmailConfirmTemplateWithContent(title, subtitle, footer, button, buttonLink string) (string, error) {