Blog systems with Page Collections, Page Feeds, and tag archives#
Rocket now covers the full blog workflow, and this blog is built with it.
Blog posts stay ordinary Markdown Pages with Page Metadata — a date, tags, and authors.
Everything else is generated from the Page Registry:
- Archive Pages query the registry with
pageData.pages.query()and paginate it through thepaginationexport. Numbered archive pages like/blog/2/are generated automatically. - Page Feeds turn the same Page Collection into an Atom feed. Export
feedfrom the archive Page and Rocket serves/blog/feed.xmlin development and emits it during static builds. - Tag archives use a parameterized Page like
/blog/tags/:tagwith astaticParamsexport that enumerates one output document per tag — and those concrete URLs join the Sitemap. - Atlas blog layouts render the index and the posts:
atlasBlogIndexLayoutlists the collection with pagination links, andatlasPostLayoutadds the byline with date, authors, and tag links you can see above.
Read the Page Collections guide for the full walkthrough, or subscribe to the Rocket Blog feed to follow along.