aboutsummaryrefslogtreecommitdiff
path: root/assets/templates/markdown-feed.yaml
blob: b75a7134aad4aff85dc5bd0e44fba13e2efff0ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
{{ range $key, $value := . -}}
{{- if or
  (eq $key "author")
  (eq $key "date")
  (eq $key "tags")
-}}
{{- $key }}: {{ $value }}
{{ end -}}
{{ end -}}
feed:
{{ range $key, $value := . -}}
{{- if and
  (ne $key "content")
  (ne $key "date")
  (ne $key "tags")
-}}
{{ print "  " }}{{- $key }}: {{ $value }}
{{ end -}}
{{ end -}}
---

{{ .content }} [Read More →]({{ .link }})