Skip to content

seo: drop the duplicate blog link from llms.txt primary links - #350

Merged
Ducksss merged 1 commit into
devfrom
claude/llms-txt-blog-dedupe
Jul 27, 2026
Merged

Ducksss merged 1 commit into
devfrom
claude/llms-txt-blog-dedupe

Conversation

@Ducksss

@Ducksss Ducksss commented Jul 27, 2026

Copy link
Copy Markdown
Owner

What

/llms.txt listed the blog twice in its Primary links section. Two SEO-focused PRs landed overlapping entries — a hardcoded /blog + /blog/rss.xml pair and a blogRoute/feedRoute pair — and since blogRoute === '/blog', the section emitted - [Blog](…/blog) on two separate lines.

This keeps the constant-based form, derives the RSS link from blogRoute as well so the two blog surfaces share one constant instead of one being constant-based and its neighbour hardcoded, and groups them after Template concepts:

Home · Docs · AI discovery guide · Component catalog · Template concepts
Blog · Blog RSS · Updates feed · About · Public registry · Full LLM context · GitHub repository

/feed.xml and /blog/rss.xml are genuinely separate routes, so both feed links stay.

Test contract

  • tests/e2e/geo.e2e.spec.ts pins rendered substrings (- [Blog](${baseURL}/blog), - [Updates feed](${baseURL}/feed.xml)) — unaffected, since the emitted bytes only lose the duplicate line.
  • tests/int/blog-platform.int.spec.ts pins the route source text, and one of its pins was the exact duplicate line being deleted. Both pins move to the constant-based literals in this PR.

Validation

Full pnpm test:release on this branch: lint, tsc, registry, int (341 passed / 1 skipped), production build, and the frontend / visual / templates-visual e2e batches all green; test:e2e geo green.

The remaining batch reports two failures — blog-visual blog-index-desktop and blog-index-mobile. Pre-existing on dev and unrelated to this change: verified by running that spec on a clean origin/dev checkout, where the same two cases fail. #348 redesigned the blog index but re-minted only the *-chromium-linux.png baselines, so the darwin ones are stale. CI is linux, so pr-gate is unaffected; the darwin re-mint is worth a separate PR.

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings July 27, 2026 05:55
@vercel

vercel Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
payload-components Ready Ready Preview, Comment Jul 27, 2026 7:31am
payload-components-97bf Ready Ready Preview, Comment Jul 27, 2026 7:31am

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 36d98846-8bfb-45c4-bb84-2f5da5e66a30

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/llms-txt-blog-dedupe

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Two SEO PRs landed overlapping entries in the /llms.txt "Primary links"
section: a hardcoded /blog + /blog/rss.xml pair and a blogRoute/feedRoute
pair, so Blog was emitted twice. Keep the constant-based form, derive the
RSS link from blogRoute too, and order the section so the blog surfaces
sit together after Template concepts.

Emitted output is unchanged apart from the removed duplicate, so the
geo e2e pins still hold; the blog-platform int spec pins the route
source strings, so it moves to the constant-based literals.

Co-Authored-By: Claude <[email protected]>
@Ducksss
Ducksss force-pushed the claude/llms-txt-blog-dedupe branch from 05e2d2e to cc71bf4 Compare July 27, 2026 07:14
@Ducksss
Ducksss merged commit 4665901 into dev Jul 27, 2026
11 of 12 checks passed
@Ducksss
Ducksss deleted the claude/llms-txt-blog-dedupe branch July 27, 2026 07:30

This branch was successfully deployed

2 active deployments
Preview – payload-components-97bf — cc71bf47 Deployed Jul 27, 2026 by vercel[bot]
Preview – payload-components — cc71bf47 Deployed Jul 27, 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.

2 participants