Repository navigation
feat(seo): list public author profiles in the pages sitemap - #116
Open
EagleFox31 wants to merge 1 commit into
Open
EagleFox31 wants to merge 1 commit into
EagleFox31 wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
EagleFox31
force-pushed
the
claude/project-thread-t6u9x6
branch
from
October 12, 2026 08:03
ba618e2 to
4064ecc
Compare
This branch was successfully deployed
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.
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.xmllists every author who signs at least one article that renders in that locale, with the latest article date aslastmod. Publishing, editing or unpublishing a post refreshes that list. The daily crawl smoke also checkspages-sitemap.xmland 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 existingauthorSlug, so sitemap URLs match the profile route exactly. The pages sitemap cache key moves tov5so the first deploy serves the new list right away, andrevalidatePostnow also invalidates thepages-sitemaptag.Checked locally:
pnpm lint(no new warnings),tsc --noEmit,pnpm test:unit(122 passed, including 2 new tests). Production smoke on currentmain(run 38219017450) passed all checks before this change.