From e0a857eafebd92d5e94d156997d5d9422a50933f Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Wed, 6 May 2020 22:56:38 +0200 Subject: Improve template --- internal/feed/template/feed.tpl.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/feed/template/feed.tpl.go') diff --git a/internal/feed/template/feed.tpl.go b/internal/feed/template/feed.tpl.go index 0e09180..2f51bbe 100644 --- a/internal/feed/template/feed.tpl.go +++ b/internal/feed/template/feed.tpl.go @@ -64,10 +64,10 @@ const feedTpl = `{{- /*gotype:github.com/Necoro/feed2imap-go/internal/feed.feedi {{end}}
- {{template "bottomLine" (dict "descr" "Date:" "content" .Item.Published)}} + {{template "bottomLine" (dict "descr" "Date:" "content" .Published)}} {{template "bottomLine" (dict "descr" "Author:" "content" .Creator)}} - {{template "bottomLine" (dict "descr" "Filed under:" "content" (join ", " .Item.Categories))}} - {{with .Feed.FeedLink}} + {{template "bottomLine" (dict "descr" "Filed under:" "content" (join ", " .Categories))}} + {{with .FeedLink}} {{template "bottomLine" (dict "descr" "Feed-Link:" "content" (print "" . "" | html))}} {{end}}
` -- cgit v1.2.3-70-g09d2