Skip to content

feat(seo): list public author profiles in the pages sitemap - #116

Open
EagleFox31 wants to merge 1 commit into
mainfrom
claude/project-thread-t6u9x6
Open

EagleFox31 wants to merge 1 commit into
mainfrom
claude/project-thread-t6u9x6

Conversation

@EagleFox31

@EagleFox31 EagleFox31 commented Oct 12, 2026 •

Copy link
Copy Markdown
Owner

Part of #98.

Before: the public author profiles added in #110 (/fr/authors/…, /en/authors/…) were linked from articles and structured data, but appeared in no sitemap, and the daily crawl smoke never fetched one.

After: pages-sitemap.xml lists every author who signs at least one article that renders in that locale, with the latest article date as lastmod. Publishing, editing or unpublishing a post refreshes that list. The daily crawl smoke also checks pages-sitemap.xml and fetches one author profile per locale (HTTP 200, server-rendered H1, canonical URL).

How: a pure helper buildLocalizedAuthorSitemapEntries (src/seo/authorsSitemap.ts) reuses the posts sitemap's "renderable in this locale" rule and the existing authorSlug, so sitemap URLs match the profile route exactly. The pages sitemap cache key moves to v5 so the first deploy serves the new list right away, and revalidatePost now also invalidates the pages-sitemap tag.

Checked locally: pnpm lint (no new warnings), tsc --noEmit, pnpm test:unit (122 passed, including 2 new tests). Production smoke on current main (run 38219017450) passed all checks before this change.

@vercel

vercel Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
trigenys-insight Ready Ready Preview Oct 12, 2026 8:09am UTC

@EagleFox31 EagleFox31 self-assigned this Oct 12, 2026
@EagleFox31
EagleFox31 marked this pull request as ready for review October 12, 2026 07:44
Author profile pages added in #110 were linked from articles but absent
from every sitemap. Each locale now advertises the authors who sign at
least one renderable article, with the latest article date as lastmod.
Post changes invalidate the pages sitemap, and the daily crawl smoke now
checks the pages sitemap and one author profile per locale.

This branch was successfully deployed

1 active deployment
Preview — 4064ecc5 Deployed Oct 12, 2026 by vercel[bot]
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