LoveIt/layouts/posts/rss.xml

42 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>
{{- .Params.Title | default (T .Section) | default .Section | printf (T "allSome") }} - {{ .Site.Title -}}
2020-01-31 11:46:28 +01:00
</title>
<link>
{{- .Permalink -}}
</link>
<description>
{{- .Params.Title | default (T .Section) | default .Section | printf (T "allSome") }} | {{ .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 -}}
<atom:link href="{{ .Permalink }}" rel="self" type="application/rss+xml" />
{{- range .Pages | first (.Site.Params.section.rss | default 10) -}}
{{- 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>