diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2022-01-09 01:20:34 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2022-01-09 13:18:32 +0100 |
commit | 0384d631d2edb8383d0840940be066d96a5badc7 (patch) | |
tree | 71cac6f7f309794b4a72e88afa1c3aedcc6bd6b2 /pkg/config/config.go | |
parent | 914be83c6066ffb8103707528f8e8279df97bf63 (diff) | |
download | feed2imap-go-0384d631d2edb8383d0840940be066d96a5badc7.tar.gz feed2imap-go-0384d631d2edb8383d0840940be066d96a5badc7.tar.bz2 feed2imap-go-0384d631d2edb8383d0840940be066d96a5badc7.zip |
#66: Support for specifying custom templates
Diffstat (limited to '')
-rw-r--r-- | pkg/config/config.go | 4 |
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 |