From 7106d5a6e7585dce5fdd552cca30063dd352dc23 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Mon, 22 Feb 2021 22:54:43 +0100 Subject: Split cache and feed packages --- internal/feed/template/html.tpl | 4 ++-- internal/feed/template/text.tpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/feed/template') diff --git a/internal/feed/template/html.tpl b/internal/feed/template/html.tpl index aa7d341..ed98121 100644 --- a/internal/feed/template/html.tpl +++ b/internal/feed/template/html.tpl @@ -1,4 +1,4 @@ -{{- /*gotype:github.com/Necoro/feed2imap-go/internal/feed.feeditem*/ -}} +{{- /*gotype:github.com/Necoro/feed2imap-go/internal/feed.Item*/ -}} {{define "bottomLine"}} {{if .content}} @@ -16,7 +16,7 @@ Feed {{with .Feed.Link}}{{end}} - {{or .Feed.Title .Feed.Link "Unnammed feed"}} + {{or .Feed.Title .Feed.Link "Unnamed feed"}} {{if .Feed.Link}}{{end}} diff --git a/internal/feed/template/text.tpl b/internal/feed/template/text.tpl index 1225902..8ca30ed 100644 --- a/internal/feed/template/text.tpl +++ b/internal/feed/template/text.tpl @@ -1,4 +1,4 @@ -{{- /*gotype:github.com/Necoro/feed2imap-go/internal/feed.feeditem*/ -}} +{{- /*gotype:github.com/Necoro/feed2imap-go/internal/feed.Item*/ -}} {{- with .Item.Link -}} <{{.}}> -- cgit v1.2.3-54-g00ecf