Skip to content
Permalink
Browse files

Modified theme and switched template.HTML to template.URL to avoid Zg…

…otmplZ issue
  • Loading branch information...
Depado committed Jul 13, 2017
1 parent a017f69 commit 8b612068062ad288e97044a144447e1a1ed6126f
Showing with 7 additions and 7 deletions.
  1. +3 −3 flat.go
  2. +4 −4 hermes.go
@@ -28,7 +28,7 @@ func (dt *Flat) HTMLTemplate() string {
height: 100%;
margin: 0;
line-height: 1.4;
background-color: #2c3e50;
background-color: #e6e6e6;
color: #74787E;
-webkit-text-size-adjust: none;
}
@@ -41,7 +41,7 @@ func (dt *Flat) HTMLTemplate() string {
width: 100%;
margin: 0;
padding: 0;
background-color: #2c3e50;
background-color: #e6e6e6;
}
.email-content {
width: 100%;
@@ -88,7 +88,7 @@ func (dt *Flat) HTMLTemplate() string {
text-align: center;
}
.email-footer p {
color: #eaeaea;
color: #000;
}
.body-action {
width: 100%;
@@ -43,10 +43,10 @@ const TDRightToLeft TextDirection = "rtl"
// Appears in header & footer of e-mails
type Product struct {
Name string
Link template.HTML // e.g. https://matcornic.github.io
Logo string // e.g. https://matcornic.github.io/img/logo.png
Copyright string // Copyright © 2017 Hermes. All rights reserved.
TroubleText string // TroubleText is the sentence at the end of the email for users having trouble with the button (default to `If you’re having trouble with the button '{ACTION}', copy and paste the URL below into your web browser.`)
Link template.URL // e.g. https://matcornic.github.io
Logo string // e.g. https://matcornic.github.io/img/logo.png
Copyright string // Copyright © 2017 Hermes. All rights reserved.
TroubleText string // TroubleText is the sentence at the end of the email for users having trouble with the button (default to `If you’re having trouble with the button '{ACTION}', copy and paste the URL below into your web browser.`)
}

// Email is the email containing a body

0 comments on commit 8b61206

Please sign in to comment.
You can’t perform that action at this time.