forked from wrenn/wrenn
Updated email template for optional name
This commit is contained in:
@ -45,11 +45,9 @@
|
||||
<td style="padding: 40px 44px;">
|
||||
|
||||
<!-- Greeting -->
|
||||
{{if .RecipientName}}
|
||||
<p style="margin: 0 0 20px 0; font-size: 15px; line-height: 1.6; color: #3a3835;">
|
||||
Hello {{.RecipientName}},
|
||||
Hello{{if .RecipientName}} {{.RecipientName}}{{end}},
|
||||
</p>
|
||||
{{end}}
|
||||
|
||||
<!-- Message -->
|
||||
<p style="margin: 0 0 24px 0; font-size: 15px; line-height: 1.7; color: #3a3835;">
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{{if .RecipientName}}Hello {{.RecipientName}},
|
||||
Hello{{if .RecipientName}} {{.RecipientName}}{{end}},
|
||||
|
||||
{{end}}{{.Message}}
|
||||
{{.Message}}
|
||||
{{if .Button}}
|
||||
|
||||
{{.Button.Text}}: {{.Button.URL}}
|
||||
|
||||
Reference in New Issue
Block a user