diff options
Diffstat (limited to '')
-rw-r--r-- | internal/feed/template/html.tpl | 4 | ||||
-rw-r--r-- | internal/feed/template/text.tpl | 2 |
2 files changed, 3 insertions, 3 deletions
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}} <tr> @@ -16,7 +16,7 @@ <td style="text-align: right; padding: 4px"><strong>Feed</strong></td> <td style="width: 100%; padding: 4px"> {{with .Feed.Link}}<a href="{{.}}">{{end}} - <strong>{{or .Feed.Title .Feed.Link "Unnammed feed"}}</strong> + <strong>{{or .Feed.Title .Feed.Link "Unnamed feed"}}</strong> {{if .Feed.Link}}</a>{{end}} </td> </tr> 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 -}} <{{.}}> |