blob: e91f4331afb3c07d7a158a94af6787445f039598 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{ .Lang }}">
<id>{{ .Permalink }}</id>
<title>{{ .Title }}</title>
<link href="{{ .Permalink }}" rel="alternate" />
<link href="{{ .Permalink }}feed.atom" rel="self" />
{{- if not .Date.IsZero }}
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
{{- end }}
<author><name>{{ .Site.Params.authorName }}</name></author>
{{- range (where site.RegularPages "Type" "in" site.Params.mainSections) }}
<entry>
<title>{{ .Title }}</title>
<link href="{{ .Permalink }}"/>
<id>{{ .Permalink }}</id>
<published>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</published>
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
{{- if .Content }}
<content type="html">{{ htmlEscape .Content }}</content>
{{- end }}
</entry>
{{- end }}
</feed>
|