feat: add an RSS 2.0 feed for the news

- build /news/feed.xml and /it/news/feed.xml with the latest 20 posts, full text and absolute links
- add the feed autodiscovery link to every page and a visible link on the news pages
- document the feed in the README
This commit is contained in:
squid 2026-11-12 18:41:38 +01:00
commit 7bc7b8789f

View file

@ -10,6 +10,7 @@
<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
{{alt_links}}
<link rel="alternate" type="application/rss+xml" title="kmalloc.org: {{nav_news}}" href="{{url_news}}feed.xml">
<style>
{{css}}
</style>