Repository navigation
Make playground crawlable - #5
Merged
Merged
Conversation
- Emit one static HTML file per route with title, description, canonical and Open Graph tags, plus fallback content shown until Vue mounts - Generate sitemap.xml - Fix deep links returning 404 on GitHub Pages - Prefix plain links with the Pages base so they stay inside the site - Default <html lang> to en and keep it in sync with the selected locale - Update document.title on route change 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.
Summary
sitemap.xml/link-interceptor/internal, which currently return 404 on GitHub Pages/link-interceptor/;href="/prevent"currently resolves outside the site when opened in a new tab or followed by a crawler<html lang>toen(it wasja) and keep it in sync with the selected localedocument.titleon route changerobots.txtis not included: crawlers only read it from the host root (babu-ch.github.io/robots.txt), so a project site cannot provide one. Submitsitemap.xmlthrough Search Console instead.Only the playground changes. Published packages are unaffected.
Test plan
pnpm lint/pnpm test/pnpm build/,/internaland/securityreturn 200 and mount, fallback content is replaced, and clicking a plain nav link routes in the SPA and updates the title/link-interceptor/internalreturns 200 on GitHub Pages🤖 Generated with Claude Code