LoveIt/layouts/index.atom.xml

46 lines
1.4 KiB
XML
Raw Normal View History

2019-02-03 12:30:44 +01:00
<feed xmlns="http://www.w3.org/2005/Atom">
2020-01-31 11:46:28 +01:00
{{- with .Title }}{{ . }} | {{ end }}{{ .Site.Title -}}
<link href="{{ .Permalink }}index.xml" rel="self"/>
2019-02-03 12:30:44 +01:00
<link href="{{ .Permalink }}"/>
2020-01-31 11:46:28 +01:00
{{- if not .Date.IsZero -}}
<updated>
2020-02-18 09:22:24 +01:00
{{- .Date.Format "02-01-2006T15:04:05-07:00" -}}
2020-01-31 11:46:28 +01:00
</updated>
{{- end -}}
<id>
{{- .Permalink -}}
</id>
<author>
2020-01-31 11:46:28 +01:00
{{- with .Site.Author.name -}}
<name>{{ . }}</name>
2020-01-31 11:46:28 +01:00
{{- end -}}
{{- with .Site.Author.email -}}
<email>{{ . }}</email>
2020-01-31 11:46:28 +01:00
{{- end -}}
</author>
<generator>Hugo -- gohugo.io</generator>
2020-01-31 11:46:28 +01:00
{{- range first 15 (where .Data.Pages "Type" "in" .Site.Params.mainSections) -}}
<entry>
2020-02-18 09:22:24 +01:00
<title type="html"><![CDATA[{{ .Title -}}]]></title>
<link href="{{ .Permalink }}"/>
2020-01-31 11:46:28 +01:00
<id>
{{- .Permalink -}}
</id>
{{- with .Site.Author.name -}}
<author>
2020-01-31 11:46:28 +01:00
<name>
{{- . -}}
</name>
</author>
2020-01-31 11:46:28 +01:00
{{- end -}}
<published>
2020-02-18 09:22:24 +01:00
{{- .Date.Format "2006-01-02T15:04:05-07:00" -}}
2020-01-31 11:46:28 +01:00
</published>
<updated>
2020-02-18 09:22:24 +01:00
{{- .Lastmod.Format "2006-01-02T15:04:05-07:00" -}}
2020-01-31 11:46:28 +01:00
</updated>
2020-02-18 09:22:24 +01:00
<content type="html"><![CDATA[{{- .Content -}}]]></content>
</entry>
2020-01-31 11:46:28 +01:00
{{- end -}}
2020-02-06 17:10:00 +01:00
</feed>