style: Fix indentation of the theme
This commit is contained in:
parent
f983d8d7c5
commit
8ffbdf7305
10
default.go
10
default.go
|
@ -227,6 +227,7 @@ func (dt *Default) HTMLTemplate() string {
|
|||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Email Body -->
|
||||
<tr>
|
||||
<td class="email-body" width="100%">
|
||||
|
@ -314,7 +315,9 @@ func (dt *Default) HTMLTemplate() string {
|
|||
<tr>
|
||||
<td align="center">
|
||||
<div>
|
||||
<a href="{{ $action.Button.Link }}" class="button" style="background-color: {{ $action.Button.Color }}" target="_blank">{{ $action.Button.Text }}</a>
|
||||
<a href="{{ $action.Button.Link }}" class="button" style="background-color: {{ $action.Button.Color }}" target="_blank">
|
||||
{{ $action.Button.Text }}
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -333,13 +336,14 @@ func (dt *Default) HTMLTemplate() string {
|
|||
|
||||
<p>
|
||||
{{.Email.Body.Signature}},
|
||||
<br>
|
||||
<br />
|
||||
{{.Hermes.Product.Name}}
|
||||
</p>
|
||||
|
||||
{{ with .Email.Body.Actions }}
|
||||
<table class="body-sub">
|
||||
<tbody><tr>
|
||||
<tbody>
|
||||
<tr>
|
||||
{{ range $action := . }}
|
||||
<td>
|
||||
<p class="sub">If you’re having trouble with the button '{{ $action.Button.Text }}', copy and paste the URL below into your web browser.</p>
|
||||
|
|
|
@ -124,7 +124,7 @@ func setDefaultHermesValues(h *Hermes) error {
|
|||
Copyright: "Copyright © 2017 Hermes. All rights reserved.",
|
||||
},
|
||||
}
|
||||
// Merge the given hermes engine coniguration with default one
|
||||
// Merge the given hermes engine configuration with default one
|
||||
// Default one overrides all zero values
|
||||
err := mergo.Merge(h, defaultHermes)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue