aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/template/text.tpl
blob: 8ca30edaee96a976ae699481fb21de0ad006946a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{{- /*gotype:github.com/Necoro/feed2imap-go/internal/feed.Item*/ -}}
{{- 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 -}}
2014-05-14Disable secmem warning when discovering keysmilki2-2/+2 2014-05-10edit: Quote editor so tests work in spaced directories.Jason A. Donenfeld1-1/+1 2014-05-10reencryption: Properly escape input to sedJason A. Donenfeld1-1/+1 2014-05-10git: use secure tmp directoryJason A. Donenfeld1-4/+11 2014-05-10configure git to decrypt gpg files automaticallySamuel Le Thiec1-0/+5 2014-05-08completion: add new generate flagsJason A. Donenfeld3-2/+7 2014-05-08inplace: mutually exclusive with forceJason A. Donenfeld2-3/+3 2014-05-08usage: tab to spacesJason A. Donenfeld1-1/+1 2014-05-08generate: use nice ansi colors instead.Jason A. Donenfeld1-3/+2 2014-05-08zsh: posix compatible sed fix for zsh-completionJason A. Donenfeld1-1/+1 2014-05-07Implement interactive init functionSvend Sorensen1-0/+8 2014-05-07Implement interactive rename functionSvend Sorensen1-0/+7 2014-05-07Reorder interactive function to match order of helper functionsSvend Sorensen1-13/+13 2014-05-07Make edit helper function name consistent with other helpersSvend Sorensen1-1/+1 2014-05-07Factor out password completing-read functionSvend Sorensen1-4/+8 2014-05-07Add dash to Package-RequiresSvend Sorensen1-1/+1 2014-05-06Force sane sort order.Jason A. Donenfeld1-2/+2 2014-05-06generate: add --in-place optionJason A. Donenfeld4-9/+33