diff options
| author | Dennis Fink | 2026-08-10 19:53:17 +0200 |
|---|---|---|
| committer | Dennis Fink | 2026-08-10 19:53:17 +0200 |
| commit | be8614b3c5f63b9e94341166567b9198746f98aa (patch) | |
| tree | 6c75ea8318a83e64dcc430dd4340446368ae0ee2 /templates/base.html | |
| parent | 0449117060a436792d4f7d89e053b478fe953a5a (diff) | |
| download | dennisfink.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 '')
| -rw-r--r-- | templates/base.html | 8 |
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 }}"> |
