feat: Enable site-wide Atom feed - #13
Closed
magnus-madsen wants to merge 1 commit into
Closed
Conversation
Zola only generated per-tag feeds (via the `feed = true` taxonomy settings); there was no feed for the blog as a whole. Enabling `generate_feeds` adds https://blog.flix.dev/atom.xml, the `<link rel="alternate">` auto-discovery tag in every page's head, and the RSS icon in the footer. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enables an RSS/Atom feed for the blog.
Zola was only generating per-tag feeds (
/tags/<tag>/atom.xml, from the existingfeed = truetaxonomy settings) — there was no feed for the blog as a whole. Settinggenerate_feeds = trueadds it:Verified
Built with Zola 0.19.2 (the version pinned in CI):
https://blog.flix.dev/atom.xmlis generated with all 8 posts, correct authors, dates, and permalinks<link rel="alternate" type="application/atom+xml" ...>appears in every page's<head>, so browsers and feed readers auto-discover itfeed_icondefault)feed_style.xslis referenced, so the feed renders as a readable page when opened in a browserEntries use the post
descriptionas<summary>rather than the full text — tabi'sfull_content_in_feed = falsedefault. Kept as-is because the compiler-errors post uses colocated images whose relative URLs would break inside a feed reader.🤖 Generated with Claude Code