diff options
Diffstat (limited to '')
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | config.yml.example | 4 |
3 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e81259..6664bc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added +- [Issue #66](https://github.com/Necoro/feed2imap-go/issues/66): Allow specifying custom template files for HTML/Text output (configuration: `html-template`/`text-template`). - [Issue #67](https://github.com/Necoro/feed2imap-go/issues/67): Support for fetching the linked article/website instead of using the body in the feed (configuration: `body: fetch`). This is especially useful when the feed only supplies links/teaser and not the full content. ### Fixed - Panic on setting `body` on feed-level. @@ -43,6 +43,7 @@ as inline base64-encoded data (the old default behavior of feed2imap). * STARTTLS support. As it turned out only in testing, the old feed2imap never supported it... * `item-filter` option that allows to specify an inline filter expression on the items of a feed. * Readability support: Fetch and present the linked article. +* Mail templates can be customized. ### Subtle differences diff --git a/config.yml.example b/config.yml.example index 136d890..90e5370 100644 --- a/config.yml.example +++ b/config.yml.example @@ -36,6 +36,10 @@ max-failures: 10 # Parts to generate in the resulting emails. # Valid parts are "text" and "html" parts: ["text", "html"] +# Overwrite the default template for text/html. +# See https://github.com/Necoro/feed2imap-go/wiki/Detailed-Options for more information. +html-template: html.tpl +text-template: text.tpl # Email-Address to use in 'From' and 'To' when not specified in feed. # Default uses 'current user'@hostname default-email: username@hostname |