summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDennis Fink2026-08-10 19:53:17 +0200
committerDennis Fink2026-08-10 19:53:17 +0200
commitbe8614b3c5f63b9e94341166567b9198746f98aa (patch)
tree6c75ea8318a83e64dcc430dd4340446368ae0ee2 /templates
parent0449117060a436792d4f7d89e053b478fe953a5a (diff)
downloaddennisfink.me-be8614b3c5f63b9e94341166567b9198746f98aa.tar.gz
dennisfink.me-be8614b3c5f63b9e94341166567b9198746f98aa.zip
Add RSS feed support
This adds a project-local RSS plugin that generates RSS 2.0 feeds from configured Lektor sources, including feed titles, item dates, authors, body content, and stable permalink IDs. It also adds latest and all-post RSS feed configurations and advertises both feeds from the base template alongside the existing Atom feeds.
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
index 3ac053c..051abf7 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -102,6 +102,14 @@
type="application/atom+xml"
title="{{ bag('blog.name') }} — All posts"
href="{{ '/blog@atom/all'|url(absolute=True) }}">
+ <link rel="alternate"
+ type="application/rss+xml"
+ title="{{ bag('blog.name') }} — Latest posts"
+ href="{{ '/blog@rss/latest'|url(absolute=True) }}">
+ <link rel="alternate"
+ type="application/rss+xml"
+ title="{{ bag('blog.name') }} — All posts"
+ href="{{ '/blog@rss/all'|url(absolute=True) }}">
<link rel="shortcut icon"
type="image/png"
href="{{ '/static/images/favicon.png' | asseturl }}">