Update coma position in plain text template (#15)
This commit is contained in:
parent
260cc4ad10
commit
6692b677db
|
@ -438,7 +438,7 @@ func (dt *Default) HTMLTemplate() string {
|
|||
|
||||
// PlainTextTemplate returns a Golang template that will generate an plain text email.
|
||||
func (dt *Default) PlainTextTemplate() string {
|
||||
return `<h2>{{if .Email.Body.Title }}{{ .Email.Body.Title }}{{ else }}{{ .Email.Body.Greeting }} {{ .Email.Body.Name }}{{ end }},</h2>
|
||||
return `<h2>{{if .Email.Body.Title }}{{ .Email.Body.Title }}{{ else }}{{ .Email.Body.Greeting }} {{ .Email.Body.Name }},{{ end }}</h2>
|
||||
{{ with .Email.Body.Intros }}
|
||||
{{ range $line := . }}
|
||||
<p>{{ $line }}</p>
|
||||
|
|
Loading…
Reference in New Issue