Repository navigation
feat(sitemap): keep repeat and unreviewed pages out of Google's index - #358
Merged
Merged
Conversation
The unreviewed-mods pilot ends early: 0 search impressions in 18 days, and Google never crawled these pages. Each page is now noindex, follow and leaves the sitemap; it still loads and Request a review still works. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Most facet pages repeat each other. A fixed list of five facets (token-usage, themed, quota, git, cost: 3 or more Google clicks in the 90 days to 2026-11-28) may be indexed; every other facet page is noindex, follow and leaves the sitemap, while it still loads and stays linked from breadcrumbs, More ways to browse and llms.txt. isIndexableFacet is now the list AND the inventory threshold, and reads the head and the sitemap alike. The threshold alone is isPromotedFacet, which drives the site's own links. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…emap The six /alternatives and /compare pages repeat the gallery's listings. Each is now noindex, follow and leaves the sitemap; they still load for visitors. The sitemap's best page keeps its date, now from the top ten cards alone, and liveComparePages, which only dated the comparison pages, is gone. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A theme plugin's page repeats what /themes and its palette pages show. It is now noindex, follow and leaves the sitemap; the page still loads and installs as before. Reviewed mods stay indexed and listed. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A palette page of unreviewed themes alone offers nothing to install. It is now noindex, follow and leaves the sitemap; the page still loads. One helper, reviewedPalettePages, now feeds the sitemap and both llms files, so the three can't disagree about which palette pages count. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
/?page=N repeats the home page's listings. The sitemap no longer lists those pages, and sitemapResponse loses its pageCount parameter. The pages still load and keep their self-canonical. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PageSection takes a nosnippet flag that puts data-nosnippet on its section. More status lines, Related mods and More like this pass it, so cards describing other pages no longer write this page's snippet. Nothing visitors see changes. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…and 0014 The group /mods/unreviewed/* had 0 Google impressions in 18 days and Google crawled none of its pages. Every unreviewed page, and every palette page of unreviewed themes alone, leaves search and stays up. deploy.md no longer says a hidden unreviewed page drops a sitemap line. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comparison and theme plugin pages share most of their text with each other; a palette page of unreviewed themes alone describes code nobody here read (ADR 0014). Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 tasks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
NathanAB
added a commit
that referenced
this pull request
Nov 30, 2026
…temap line The verify map had no feature for what search engines are told about each page, and themes.md still said theme packs are in the sitemap (#358 made them noindex). Driven on the shared branch on 2026-11-30. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 30, 2026
NathanAB
added a commit
that referenced
this pull request
Nov 30, 2026
…od titles (#359) * fix(mods): stop modPageTitle cutting headlines mid-phrase (#356) A headline too long for the 60-character title was cut at its last phrase break, which left live titles like "Context Meter mod: Know when". Now a headline that doesn't fit whole gives way to the plain title, "<Name> — Claude Code mod | statuslin.es" or the theme wording. Titles whose headline fits are unchanged. The page copy prompt now asks for a headline and FAQ questions that say what the mod does in plain words, not the words someone would search. Refs #353 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * docs(deploy): record the daily Google traffic drop alert (#357) PostHog now emails the maintainer when Google-referred pageviews over the last 2 complete days fall below 40% of the same 2 days a week before. A replay of November 2026 fires on Nov 23 and on no day before the Nov 21 drop. docs/deploy.md records the query, the threshold and why, and CLAUDE.md points search and traffic questions at the Search Console script and the Composio Search Console and PostHog query tools. Refs #354 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * feat(sitemap): keep repeat and unreviewed pages out of Google's index (#358) * feat(mods): keep unreviewed mod pages out of the index and the sitemap The unreviewed-mods pilot ends early: 0 search impressions in 18 days, and Google never crawled these pages. Each page is now noindex, follow and leaves the sitemap; it still loads and Request a review still works. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(gallery): index only the facet pages searchers chose Most facet pages repeat each other. A fixed list of five facets (token-usage, themed, quota, git, cost: 3 or more Google clicks in the 90 days to 2026-11-28) may be indexed; every other facet page is noindex, follow and leaves the sitemap, while it still loads and stays linked from breadcrumbs, More ways to browse and llms.txt. isIndexableFacet is now the list AND the inventory threshold, and reads the head and the sitemap alike. The threshold alone is isPromotedFacet, which drives the site's own links. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(compare): keep the comparison pages out of the index and the sitemap The six /alternatives and /compare pages repeat the gallery's listings. Each is now noindex, follow and leaves the sitemap; they still load for visitors. The sitemap's best page keeps its date, now from the top ten cards alone, and liveComparePages, which only dated the comparison pages, is gone. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(mods): keep theme plugin pages out of the index and the sitemap A theme plugin's page repeats what /themes and its palette pages show. It is now noindex, follow and leaves the sitemap; the page still loads and installs as before. Reviewed mods stay indexed and listed. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(themes): keep palette pages with no reviewed theme out of the index A palette page of unreviewed themes alone offers nothing to install. It is now noindex, follow and leaves the sitemap; the page still loads. One helper, reviewedPalettePages, now feeds the sitemap and both llms files, so the three can't disagree about which palette pages count. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(gallery): stop listing numbered gallery pages in the sitemap /?page=N repeats the home page's listings. The sitemap no longer lists those pages, and sitemapResponse loses its pageCount parameter. The pages still load and keep their self-canonical. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(ui): keep related cards out of a page's search snippet PageSection takes a nosnippet flag that puts data-nosnippet on its section. More status lines, Related mods and More like this pass it, so cards describing other pages no longer write this page's snippet. Nothing visitors see changes. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(gallery): say a facet page is in the sitemap only when indexable Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(adr): record the unreviewed-mods pilot's early end in ADRs 0011 and 0014 The group /mods/unreviewed/* had 0 Google impressions in 18 days and Google crawled none of its pages. Every unreviewed page, and every palette page of unreviewed themes alone, leaves search and stays up. deploy.md no longer says a hidden unreviewed page drops a sitemap line. Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: give the real reason in the new noindex comments Comparison and theme plugin pages share most of their text with each other; a palette page of unreviewed themes alone describes code nobody here read (ADR 0014). Refs #352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * docs(verify): add a search indexing feature and correct the themes sitemap line The verify map had no feature for what search engines are told about each page, and themes.md still said theme packs are in the sitemap (#358 made them noindex). Driven on the shared branch on 2026-11-30. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <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.
Why
Ticket #352 under spec #351. Take pages that repeat each other, or describe code nobody here read, out of Google's index and the sitemap, and keep them reachable. This is cleanup, not the fix for the Nov 21 drop: the pages that leave earned about 16 of 573 Google clicks in 90 days.
What changed
Each page kind already has one field that says whether it's worth indexing. Its route head and the sitemap now read that same field, so the two can't disagree. Noindex is the route head's
robots: noindex, follow, as on/meand/themes./mods/unreviewed/*(ADR 0014's included)/status-lines/<facet>INDEXABLE_FACET_SLUGS), or under 3 entries as before/alternatives/*,/compare/*(all six)/mods/<slug>themeOnly)/themes/<palette>/?page=NPageSectiongets anosnippetprop that sets Google'sdata-nosnippet. "More like this", "More status lines" and "Related mods" use it. Nothing visible changes.isPromotedFacet(3+ entries) still drives breadcrumbs, "More ways to browse" and llms.txt, so visitors see the same links.isIndexableFacetis promoted and on the list.docs/deploy.mdno longer mentions a sitemap line for them.Scope
src/mods/page-meta.tsandsrc/content/page-copy-prompt.tsalone; Fix mod titles cut off mid-phrase #353 owns them. Changes no title, copy, structured data or address.liveComparePagesis deleted, because only the sitemap read it.Tradeoffs
facet-queries.tsbesideisIndexableFacet, not infacets.tsbeside the titles: adding it there putfacets.tspast the 250-line file gate (261 lines).Blast Radius
Only crawler-facing output changes: robots meta on five page kinds, the sitemap, and one attribute on three sections. Visible markup, routes, installs and "Request a review" are untouched. To undo it, revert the PR; Google re-reads the pages at its next crawl.
Verification
bun run check: 439 files and 4,281 tests passed, 13 skipped, exit 0.Acceptance criteria, with evidence
Local dev server on
localhost:3152. The script fetches/sitemap.xml, checks that every URL in it returns 200 without noindex, then checks each listed page./mods/catppuccinstill shows "Copy install prompt", and catppuccin is still in/marketplace.json.data-nosnippetappears only on<section data-nosnippet=""><h2>More like this(/mods/look-mocha), and onMore status linesandRelated mods(/c/needs-network). No other section has it.unreviewed-mod-page.test.tsx"is noindex…";discovery.test.ts"leaves every unreviewed mod page out" (from the starting patch, seen red, then green)palette-meta.test.tsnoindex case: condition forced false, then true.discovery.test.tspalette case:reviewedPalettePagesreturning every page (also failed four llms tests)facet-discovery.test.ts:isIndexableFacetreturningisPromotedFacetalone; sitemap filter dropped;network-accessadded to the list. Links unchanged:liveFacetLinksswitched toisIndexableFacet.primary-facet.test.ts:primaryFacetswitched toisIndexableFacetcompare/head.test.ts(one case per path): robots meta removed, all six red.sitemap-lastmod.test.ts:/alternatives/ccstatuslineadded backmod-page.test.tsxhead case: condition forced false, then true.discovery.test.ts:allpassed in place ofmods/?page=Nout of sitemapdiscovery.test.ts(10 status lines + 1 mod) andsitemap.test.ts(21 configs): page entries re-emitted. Canonical: existinghome-meta.test.tspage-section.test.tsx: attribute never set, then always set.config-page.test.tsx: prop dropped from each section.mod-page.test.tsx: prop dropped fromModRelatedCloses #352
🤖 Generated with Claude Code