aboutsummaryrefslogtreecommitdiff
path: root/pkg/config
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/config')
-rw-r--r--pkg/config/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/config/config.go b/pkg/config/config.go
index 218ccb3..a580337 100644
--- a/pkg/config/config.go
+++ b/pkg/config/config.go
@@ -24,6 +24,8 @@ type GlobalOptions struct {
Parts []string `yaml:"parts"`
MaxFailures int `yaml:"max-failures"`
AutoTarget bool `yaml:"auto-target"`
+ HtmlTemplate string `yaml:"html-template"`
+ TextTemplate string `yaml:"text-template"`
}
var DefaultGlobalOptions = GlobalOptions{
@@ -34,6 +36,8 @@ var DefaultGlobalOptions = GlobalOptions{
Target: Url{},
Parts: []string{"text", "html"},
AutoTarget: true,
+ HtmlTemplate: "",
+ TextTemplate: "",
}
// Options are feed specific