From 0384d631d2edb8383d0840940be066d96a5badc7 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Sun, 9 Jan 2022 01:20:34 +0100 Subject: #66: Support for specifying custom templates --- pkg/config/config.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/config') 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 -- cgit v1.2.3-70-g09d2