Add RSS feed for news

This commit is contained in:
Marc Froehlich
2026-07-07 01:03:11 +02:00
parent 6d1e08711a
commit 5838d3a999
42 changed files with 162 additions and 38 deletions
+23
View File
@@ -0,0 +1,23 @@
---
permalink: /feed.xml
eleventyExcludeFromCollections: true
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>KST4Contest News</title>
<link>https://kst4contest.hamradioonline.de/</link>
<description>News and release updates for KST4Contest.</description>
<language>en</language>
{% for post in collections.news | reverse %}
<item>
<title>{{ post.data.title }}</title>
<link>https://kst4contest.hamradioonline.de{{ post.url }}</link>
<guid>https://kst4contest.hamradioonline.de{{ post.url }}</guid>
<pubDate>{{ post.date | dateToRfc822 }}</pubDate>
<description>{{ post.data.summary }}</description>
</item>
{% endfor %}
</channel>
</rss>