2023-05-05 16:36:10 +02:00
|
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
|
|
|
<channel>
|
2023-05-14 22:18:49 +02:00
|
|
|
{{- $author := or (.Site.Params.author) (.Site.Author.name) -}}
|
|
|
|
{{- $language := or (.Site.LanguageCode) (.Site.Language.Lang) -}}
|
2023-05-05 16:36:10 +02:00
|
|
|
<title>{{ .Site.Title }}</title>
|
|
|
|
<description>{{ .Site.Params.description }}</description>
|
2023-05-14 22:18:49 +02:00
|
|
|
<link>{{ absURL "" }}</link>
|
|
|
|
<language>{{ $language | default "en" }}</language>
|
|
|
|
<copyright>Copyright {{ now.Format "2006"}}, {{ $author }}</copyright>
|
|
|
|
<lastBuildDate>{{ .Site.LastChange.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
|
|
|
|
{{ with .Site.Params.webmaster }}
|
|
|
|
<webMaster>{{ . }}</webMaster>
|
|
|
|
{{ end }}
|
2023-05-05 16:36:10 +02:00
|
|
|
<docs>http://cyber.harvard.edu/rss/rss.html</docs>
|
2023-05-14 22:18:49 +02:00
|
|
|
<atom:link href="{{ absURL "atom.xml" }}" rel="self" type="application/atom+xml"/>
|
|
|
|
{{ range where .Site.RegularPages "Type" "posts" }}
|
2023-05-05 16:36:10 +02:00
|
|
|
<item>
|
|
|
|
<title>{{ .Title }}</title>
|
|
|
|
<link>{{ .Permalink }}</link>
|
2023-05-14 22:18:49 +02:00
|
|
|
<description>{{ .Content | plainify }}</description>
|
2023-05-23 14:50:25 +02:00
|
|
|
{{- if .Params.Author -}}
|
|
|
|
{{- $author := index .Site.Data.authors .Params.author -}}
|
2023-05-23 14:52:58 +02:00
|
|
|
<author>{{ $author.email }} ({{ $author.name }})</author>
|
2023-05-23 14:50:25 +02:00
|
|
|
{{- else -}}
|
2023-05-23 14:52:58 +02:00
|
|
|
<author>website@nluug.nl (NLUUG)</author>
|
2023-05-23 14:50:25 +02:00
|
|
|
{{- end -}}
|
2023-05-05 16:36:10 +02:00
|
|
|
<guid>{{ .Permalink }}</guid>
|
|
|
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
|
|
|
</item>
|
|
|
|
{{ end }}
|
|
|
|
</channel>
|
|
|
|
</rss>
|