shitty-ssg/cmd/ssg/resources/ewnl/template/rss.goxml

21 lines
722 B
XML

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>ErikWinter.nl</title>
<link>https://erikwinter.nl/</link>
<description>Activity on ErikWinter.nl</description>
<language>en-us</language>
<lastBuildDate>{{ .DateFormal }}</lastBuildDate>
<atom:link href="https://erikwinter.nl/index.xml" rel="self" type="application/rss+xml" />
{{- range .Posts -}}
<item>
<title>{{ .Title }}</title>
<link>{{ .Link }}</link>
<pubDate>{{ .DateFormal }}</pubDate>
<guid>{{ .Link }}</guid>
<description>{{ .Content }}</description>
</item>
{{- end -}}
</channel>
</rss>