aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/template/text.tpl.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/feed/template/text.tpl.go')
-rw-r--r--internal/feed/template/text.tpl.go42
1 files changed, 0 insertions, 42 deletions
diff --git a/internal/feed/template/text.tpl.go b/internal/feed/template/text.tpl.go
deleted file mode 100644
index 19aa9b2..0000000
--- a/internal/feed/template/text.tpl.go
+++ /dev/null
@@ -1,42 +0,0 @@
-package template
-
-var Text = fromString("Feed", textTpl, false)
-
-//noinspection HtmlDeprecatedAttribute,HtmlUnknownTarget
-const textTpl = `{{- /*gotype:github.com/Necoro/feed2imap-go/internal/feed.feeditem*/ -}}
-{{- with .Item.Link -}}
-<{{.}}>
-
-{{ end -}}
-{{- with .TextBody -}}
-{{.}}
-{{ end -}}
-{{- with .Item.Enclosures}}
-Files:
-{{- range . }}
- {{ .URL}} ({{with .Length}}{{. | byteCount}}, {{end}}{{.Type}})
-{{- end -}}
-{{- end}}
---
-Feed: {{ with .Feed.Title -}}{{.}}{{- end }}
-{{ with .Feed.Link -}}
- <{{.}}>
-{{end -}}
-Item: {{ with .Item.Title -}}
- {{.}}
-{{- end }}
-{{ with .Item.Link -}}
- <{{.}}>
-{{end -}}
-{{ with .Date -}}
- Date: {{.}}
-{{ end -}}
-{{ with .Creator -}}
- Author: {{.}}
-{{ end -}}
-{{ with (join ", " .Categories) -}}
- Filed under: {{.}}
-{{ end -}}
-{{ with .FeedLink -}}
- Feed-Link: {{.}}
-{{ end -}}`