diff --git a/default.go b/default.go index 1bb0d85..b8e2e94 100644 --- a/default.go +++ b/default.go @@ -367,7 +367,7 @@ func (dt *Default) HTMLTemplate() string {
- + {{ $action.Button.Text }}
diff --git a/flat.go b/flat.go index 85aad6d..955a568 100644 --- a/flat.go +++ b/flat.go @@ -367,7 +367,7 @@ func (dt *Flat) HTMLTemplate() string {
- + {{ $action.Button.Text }}
diff --git a/hermes.go b/hermes.go index e900333..6848ef4 100644 --- a/hermes.go +++ b/hermes.go @@ -104,9 +104,10 @@ type Action struct { // Button defines an action to launch type Button struct { - Color string - Text string - Link string + Color string + TextColor string + Text string + Link string } // Template is the struct given to Golang templating