feat(blog): add tag archive pages, related posts, and per-tag RSS feeds - #137
Conversation
|
@Escelit is attempting to deploy a commit to the truthixify's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@Escelit Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
Thanks @Escelit. Conflicts on Suggest holding this one until #138 merges, then rebasing. I left the reasoning on #138: your three blog PRs all touch this file, so landing them in a fixed order means one rebase each instead of repeated ones. |
9b91c59 to
574e1fb
Compare
Successfully rebased on #136 |
3d44561 to
a3a2a43
Compare
|
The rebase is suceesfully done. Please review |
|
Heads up: this went conflicted a few minutes ago because #146 (your author pages), which was first in the order we agreed landed on and it should be good to go. |
Closes #131
Summary
Implements #131 — triples internal linking surface on the blog via tag archives, related posts, and per-tag RSS feeds.
/blog/tag/:sluglists every post carrying that tag, most recent first, and links its per-tag feed.scripts/gen-rss.mjsnow emits/feed/tag/:slug.xmlfor every tag alongside the global/feed.xml. Each blog post references a per-tag<link rel="alternate">for each of its tags; the archive references its own.scripts/sitemap.ts(build) andscripts/gen-sitemap.mjsnow include every/blog/tag/:slugURL.Test plan
pnpm format:check,pnpm lint:i18n,pnpm test:a11y,pnpm buildall pass locally (CIbuildjob steps).src/__tests__/blog.test.tsxandsrc/__tests__/rss.test.tscover tag resolution, related-posts overlap/exclusion, tag archive rendering, and per-tag feed generation.public/feed/tag/*.xmlandsitemap.xmlverified to include all 6 tag archives.