{{if .Email.Body.Title }}{{ .Email.Body.Title }}{{ else }}{{ .Email.Body.Greeting }} {{ .Email.Body.Name }},{{ end }}
{{ with .Email.Body.Intros }}
{{ if gt (len .) 0 }}
{{ range $line := . }}
{{ $line }}
{{ end }}
{{ end }}
{{ end }}
{{ with .Email.Body.Dictionary }}
{{ if gt (len .) 0 }}
{{ range $entry := . }}
- {{ $entry.Key }}:
- {{ $entry.Value }}
{{ end }}
{{ end }}
{{ end }}
{{ with .Email.Body.Table }}
{{ $data := .Data }}
{{ $columns := .Columns }}
{{ if gt (len $data) 0 }}
{{ $col := index $data 0 }}
{{ range $entry := $col }}
{{ $entry.Key }}
|
{{ end }}
{{ range $row := $data }}
{{ range $cell := $row }}
{{ $cell.Value }}
|
{{ end }}
{{ end }}
|
{{ end }}
{{ end }}
{{ with .Email.Body.Actions }}
{{ if gt (len .) 0 }}
{{ range $action := . }}
{{ $action.Instructions }}
{{ end }}
{{ end }}
{{ end }}
{{ with .Email.Body.Outros }}
{{ if gt (len .) 0 }}
{{ range $line := . }}
{{ $line }}
{{ end }}
{{ end }}
{{ end }}
{{.Email.Body.Signature}},
{{.Hermes.Product.Name}}
{{ with .Email.Body.Actions }}
{{ range $action := . }}
If you’re having trouble with the button '{{ $action.Button.Text }}', copy and paste the URL below into your web browser.
{{ $action.Button.Link }}
|
{{ end }}
{{ end }}
|