package hermes type DefaultTheme struct { name string } func (dt *DefaultTheme) Name() string { return "default" } func (dt *DefaultTheme) HtmlTemplate() string { return `
` } func (dt *DefaultTheme) PlainTextTemplate() string { return ` {{.Email.Body.Greeting}} {{.Email.Body.Name}},

{{ with .Email.Body.Intros }} {{ range $line := . }} {{ $line }}
{{ end }}
{{ end }} {{ with .Email.Body.Dictionary }} {{ range $entry := . }} {{ $entry.Key }}: {{ $entry.Value }}
{{ end }}
{{ end }} {{ with .Email.Body.Actions }} {{ range $action := . }} {{ $action.Instructions }}
{{ $action.Button.Link }}

{{ end }} {{ end }} {{ with .Email.Body.Outros }} {{ range $line := . }} {{ $line }}
{{ end }}
{{ end }} {{.Email.Body.Signature}},
{{.Hermes.Product.Name}}

{{.Hermes.Product.Copyright}} ` }