Skip to content

feat: enable RSS and Atom feeds - #15

Merged
magnus-madsen merged 1 commit into
masterfrom
feat/enable-rss-feeds
Aug 8, 2026
Merged

feat: enable RSS and Atom feeds#15
magnus-madsen merged 1 commit into
masterfrom
feat/enable-rss-feeds

Conversation

@magnus-madsen

Copy link
Copy Markdown
Member

Enables web feeds for the blog.

What changed

config.toml only:

  • generate_feeds = true — Zola only inherits a theme's [extra] table, not its top-level settings, so tabi's own generate_feeds was never taking effect.
  • feed_filenames = ["atom.xml", "rss.xml"] — emits both, so readers expecting a literal /rss.xml URL are covered.
  • description — RSS 2.0 requires a channel description; it was rendering empty.

What the build produces

  • /atom.xml — tabi's styled, human-readable Atom feed (this is the one the footer RSS icon links to)
  • /rss.xml — Zola's built-in RSS 2.0 feed
  • Per-tag feeds at /tags/<tag>/atom.xml and /tags/<tag>/rss.xml, since tags already had feed = true
  • Autodiscovery <link rel="alternate"> tags for both feeds in every page's <head>

Notes

  • Atom entries carry <summary> only. Add full_content_in_feed = true under [extra] if whole posts in the feed are preferred. The RSS feed already includes full content — that comes from Zola's built-in template and isn't configurable.
  • No author feeds are generated despite {name = "authors", feed = true}: no post declares an authors taxonomy in its front matter, so the taxonomy is empty.

Verified with a local zola build.

🤖 Generated with Claude Code

Zola only inherits a theme's [extra] table, not its top-level settings,
so tabi's generate_feeds had no effect. Enable it at the site level and
emit both atom.xml and rss.xml so readers expecting a literal /rss.xml
URL are covered.

Also set a site description, which RSS 2.0 requires for the channel and
which was otherwise rendering empty.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@magnus-madsen
magnus-madsen merged commit 173496e into master Aug 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant