LoveIt/layouts/index.rss.xml

65 lines
2.2 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 -}}
<atom:link href="{{ .Permalink }}" rel="self" type="application/rss+xml" />
{{- range where .Site.RegularPages "Type" "posts" | first (.Site.Params.home.rss | default 10) -}}
2019-08-02 10:16:59 +02:00
<item>
2020-01-31 11:46:28 +01:00
<title>
{{- .Title -}}
</title>
<link>
{{- .Permalink -}}
</link>
<pubDate>
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
</pubDate>
<author>
{{- .Params.author | default $.Site.Author.name | default (T "author") -}}
</author>
2020-01-31 11:46:28 +01:00
<guid>
{{- .Permalink -}}
</guid>
<description>
{{- with .Summary -}}
{{- dict "content" . "ruby" true "fraction" true "fontawesome" true | partial "function/content.html" | plainify -}}
{{- else -}}
{{- .Description | plainify -}}
{{- end -}}
2020-01-31 11:46:28 +01:00
</description>
2019-08-02 10:16:59 +02:00
</item>
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>