aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2021-02-21 18:49:52 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2021-02-21 18:49:52 +0100
commit7fe49647bec948777cb9b8635e9beaa2c0b8ed7c (patch)
tree4fbd5b78cd3ea479f9715038122bdd5f63d97cf5
parent5ad87a4994e241b9d6b981659b7bd0ddf5f7ce31 (diff)
downloadfeed2imap-go-7fe49647bec948777cb9b8635e9beaa2c0b8ed7c.tar.gz
feed2imap-go-7fe49647bec948777cb9b8635e9beaa2c0b8ed7c.tar.bz2
feed2imap-go-7fe49647bec948777cb9b8635e9beaa2c0b8ed7c.zip
Fix signature
-rw-r--r--.editorconfig3
-rw-r--r--internal/feed/template/text.tpl2
2 files changed, 3 insertions, 2 deletions
diff --git a/.editorconfig b/.editorconfig
index 0111a8e..24ce802 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -10,4 +10,5 @@ indent_size = 4
[*.tpl]
indent_style = space
indent_size = 2
-end_of_line = crlf \ No newline at end of file
+end_of_line = crlf
+trim_trailing_whitespace = false \ No newline at end of file
diff --git a/internal/feed/template/text.tpl b/internal/feed/template/text.tpl
index 57eef18..1225902 100644
--- a/internal/feed/template/text.tpl
+++ b/internal/feed/template/text.tpl
@@ -12,7 +12,7 @@ Files:
{{ .URL}} ({{with .Length}}{{. | byteCount}}, {{end}}{{.Type}})
{{- end -}}
{{- end}}
---
+--
Feed: {{ with .Feed.Title -}}{{.}}{{- end }}
{{ with .Feed.Link -}}
<{{.}}>