aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/template
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2021-02-22 22:54:43 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2021-02-22 22:54:43 +0100
commit7106d5a6e7585dce5fdd552cca30063dd352dc23 (patch)
tree88a9cb7150f86fcadb8f87e3a6d0892bf68c2251 /internal/feed/template
parentfb2aa9b1f04d509c8215c1fa6505a144482c343d (diff)
downloadfeed2imap-go-7106d5a6e7585dce5fdd552cca30063dd352dc23.tar.gz
feed2imap-go-7106d5a6e7585dce5fdd552cca30063dd352dc23.tar.bz2
feed2imap-go-7106d5a6e7585dce5fdd552cca30063dd352dc23.zip
Split cache and feed packages
Diffstat (limited to 'internal/feed/template')
-rw-r--r--internal/feed/template/html.tpl4
-rw-r--r--internal/feed/template/text.tpl2
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 -}}
<{{.}}>