feat(seo): add page metadata, robots.txt, and sitemap#30
Merged
Conversation
Give the viewer baseline SEO context without turning it into a landing page. Enriches the index.html head with an accurate title/description (holon.jsonld, not the stale holon.trig), a self-canonical, and Open Graph/Twitter tags so shared holon.robosystems.ai links render a real card. Adds its own robots.txt + one-URL sitemap.xml (served from public/ at the domain root) and a noscript fallback. The app itself is unchanged.
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
Gives the Holon Viewer baseline SEO context so it's correctly represented in search results and shared links — without turning the dumb viewer into a landing page. The app itself is untouched.
The viewer is a static-hosted Vite SPA, so the
index.htmlhead is the whole crawlable surface. Before this, that was one generic title + a stale, jargon description ("holon.trig financial reports") and no robots/sitemap/social tags.Changes
index.html— accurate<title>+ meta description (targets holon.jsonld, the real format), a self-referencing<link rel="canonical">, Open Graph + Twitter Card tags (so a sharedholon.robosystems.ailink renders a real preview card),theme-color, and a<noscript>fallback describing the tool.public/robots.txt— allow-all + points at the sitemap.public/sitemap.xml— one URL (https://holon.robosystems.ai/). Vite copiespublic/to the domain root, so both serve at/robots.txtand/sitemap.xml.Verification
npm run test:allgreen (12 tests, prettier, lint, typecheck)npm run buildgreen; confirmeddist/robots.txt,dist/sitemap.xml, and the OG/canonical tags all land in the built outputFollow-ups (not in this PR)
holon.robosystems.aias its own Google Search Console property and submit the sitemap.