kmalloc.org/templates/base.html
squid 7bc7b8789f 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
2026-11-12 18:41:38 +01:00

25 lines
717 B
HTML

<!doctype html>
<html lang="{{lang}}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="color-scheme" content="light dark">
<meta name="robots" content="noindex, nofollow, noarchive">
<meta name="description" content="{{description_attr}}">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<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>
<title>{{title_html}}</title>
</head>
<body>
{{header}}
{{content}}
{{footer}}
</body>
</html>