diff --git a/template/template.txt b/template/template.txt index d40ffb0..7316130 100644 --- a/template/template.txt +++ b/template/template.txt @@ -29,6 +29,7 @@ Subject: [rss2email] {{.Subject}} X-RSS-Link: {{.Link}} X-RSS-Feed: {{.Feed}} X-RSS-GUID: {{.RSSItem.GUID}} +Content-Base: {{.Link}} Mime-Version: 1.0 --21ee3da964c7bf70def62adb9ee1a061747003c026e363e47231258c48f1 diff --git a/template/template_test.go b/template/template_test.go index 5eb54ee..61e34d6 100644 --- a/template/template_test.go +++ b/template/template_test.go @@ -4,7 +4,7 @@ import "testing" func TestTemplate(t *testing.T) { content := EmailTemplate() - if len(content) != 2241 { - t.Fatalf("unexpected template size 2241 != %d", len(content)) + if len(content) != 2265 { + t.Fatalf("unexpected template size 2265 != %d", len(content)) } }