{{- /*gotype:github.com/Necoro/feed2imap-go/internal/feed.Item*/ -}} {{define "bottomLine"}} {{if .content}} {{.descr}}   {{.content}} {{end}} {{end}}
Feed {{with .Feed.Link}}{{end}} {{or .Feed.Title .Feed.Link "Unnamed feed"}} {{if .Feed.Link}}{{end}}
Item {{with .Item.Link}}{{end}} {{or .Item.Title .Item.Link}} {{if .Item.Link}}{{end}}
{{with .Body}} {{html .}} {{end}} {{with .Item.Enclosures}} {{range .}} {{end}}
Files:
    {{.URL | lastUrlPart}} ({{with .Length}}{{. | byteCount}}, {{end}}{{.Type}})
{{end}}
{{template "bottomLine" (dict "descr" "Date:" "content" .Date)}} {{template "bottomLine" (dict "descr" "Author:" "content" .Creator)}} {{template "bottomLine" (dict "descr" "Filed under:" "content" (join ", " .Categories))}} {{with .FeedLink}} {{template "bottomLine" (dict "descr" "Feed-Link:" "content" (print "" . "" | html))}} {{end}}