Skip to content

feat(seo): add page metadata, robots.txt, and sitemap#30

Merged
jfrench9 merged 1 commit into
mainfrom
chore/seo-metadata
Jul 16, 2026
Merged

feat(seo): add page metadata, robots.txt, and sitemap#30
jfrench9 merged 1 commit into
mainfrom
chore/seo-metadata

Conversation

@jfrench9

Copy link
Copy Markdown
Member

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.html head 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 shared holon.robosystems.ai link 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 copies public/ to the domain root, so both serve at /robots.txt and /sitemap.xml.

Verification

  • npm run test:all green (12 tests, prettier, lint, typecheck)
  • npm run build green; confirmed dist/robots.txt, dist/sitemap.xml, and the OG/canonical tags all land in the built output

Follow-ups (not in this PR)

  • Register holon.robosystems.ai as its own Google Search Console property and submit the sitemap.
  • The actual "holon" keyword play belongs on robosystems.ai (server-rendered, authoritative, already in a sitemap) as a real content page that links to this viewer — not on the tool itself.

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.
@jfrench9
jfrench9 merged commit 8453d0c into main Jul 16, 2026
1 check passed
@jfrench9
jfrench9 deleted the chore/seo-metadata branch July 16, 2026 03:50
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.

1 participant