diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-11-10 11:00:21 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-11-10 11:00:21 -0500 |
commit | cb7d7a043892e9911491c3acc32a36b61d891ea7 (patch) | |
tree | d38079aaad1e9048ce4118fcd8691652be2ed614 /lib | |
parent | 3ba69edab5f0c787424dac9649e43a7743da13ca (diff) | |
download | aerc-cb7d7a043892e9911491c3acc32a36b61d891ea7.tar.gz |
Add some defaults for template options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/templates/template.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/templates/template.go b/lib/templates/template.go index c09bf4d2..e19b5ae0 100644 --- a/lib/templates/template.go +++ b/lib/templates/template.go @@ -132,8 +132,8 @@ func ParseTemplateFromFile(templateName string, templateDirs []string, data inte if err != nil { return nil, err } - emailTemplate, err := - template.New(templateName).Funcs(templateFuncs).ParseFiles(templateFile) + emailTemplate, err := template.New(templateName). + Funcs(templateFuncs).ParseFiles(templateFile) if err != nil { return nil, err } |