LoveIt/layouts/index.rss.xml

44 lines
1.5 KiB
XML
Raw Normal View History

<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
2019-08-02 10:16:59 +02:00
<channel>
2020-01-31 11:46:28 +01:00
<title>
{{- .Site.Title -}}
2020-01-31 11:46:28 +01:00
</title>
<link>
{{- .Permalink -}}
</link>
<description>
{{- .Site.Params.description | default .Site.Title -}}
2020-01-31 11:46:28 +01:00
</description>
2019-08-11 19:36:19 +02:00
<generator>Hugo -- gohugo.io</generator>
2020-01-31 11:46:28 +01:00
{{- with .Site.LanguageCode -}}
<language>
{{- . -}}
</language>
{{- end -}}
{{- with .Site.Author.email -}}
<managingEditor>
{{- . }}{{ with $.Site.Author.name }} ({{ . }}){{ end -}}
2020-01-31 11:46:28 +01:00
</managingEditor>
<webMaster>
{{- . }}{{ with $.Site.Author.name }} ({{ . }}){{ end -}}
2020-01-31 11:46:28 +01:00
</webMaster>
{{- end -}}
{{- with .Site.Copyright -}}
<copyright>
{{- . -}}
</copyright>
{{- end -}}
{{- if not .Date.IsZero -}}
<lastBuildDate>
2020-02-18 09:22:24 +01:00
{{- .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}}
2020-01-31 11:46:28 +01:00
</lastBuildDate>
{{- end -}}
2020-05-15 18:49:47 +02:00
{{ with .OutputFormats.Get "RSS" }}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{ end }}
{{- range where .Site.RegularPages "Type" "posts" | first (.Site.Params.home.rss | default 10) -}}
2020-05-18 15:30:33 +02:00
{{- dict "Page" . "Site" .Site | partial "rss/item.html" -}}
2020-01-31 11:46:28 +01:00
{{- end -}}
2019-08-02 10:16:59 +02:00
</channel>
2020-02-06 17:10:00 +01:00
</rss>