diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/feed/mail.go | 2 | ||||
-rw-r--r-- | internal/feed/template/html.tpl.go (renamed from internal/feed/template/feed.tpl.go) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/feed/mail.go b/internal/feed/mail.go index ecd21ef..b70ce7d 100644 --- a/internal/feed/mail.go +++ b/internal/feed/mail.go @@ -49,7 +49,7 @@ func (item *item) toAddress() []*mail.Address { } func (item *item) writeHtml(writer io.Writer) error { - return template.Feed.Execute(writer, item) + return template.Html.Execute(writer, item) } func (item *item) buildHeader() message.Header { diff --git a/internal/feed/template/feed.tpl.go b/internal/feed/template/html.tpl.go index 10f870b..4626188 100644 --- a/internal/feed/template/feed.tpl.go +++ b/internal/feed/template/html.tpl.go @@ -1,6 +1,6 @@ package template -var Feed = fromString("Feed", feedTpl) +var Html = fromString("Feed", feedTpl) //noinspection HtmlDeprecatedAttribute,HtmlUnknownTarget const feedTpl = `{{- /*gotype:github.com/Necoro/feed2imap-go/internal/feed.feeditem*/ -}} |