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
+2
View File
@@ -18,6 +18,8 @@
<meta name="twitter:description" content="{{ description or 'Contest-optimized ON4KST chat client for VHF, UHF and SHF ham radio contests.' }}">
<link rel="stylesheet" href="/assets/css/main.css?v={{ build.version }}">
<link rel="alternate" type="application/rss+xml" title="KST4Contest News" href="/feed.xml">
</head>
<body>
+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>