Skip to content

SSR/SEO for bots - #1538

Open
jochumdev wants to merge 3 commits into
perber:mainfrom
jochumdev:issue/1292
Open

SSR/SEO for bots#1538
jochumdev wants to merge 3 commits into
perber:mainfrom
jochumdev:issue/1292

Conversation

@jochumdev

@jochumdev jochumdev commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Related issue

Fixes #1292

What changed

  • Adds a Goldmark rendered page for Bot and CLI user agents. It's live on https://docs.incus-compose.org
  • Adds various header tags for preview and seo.
  • Instead of redirecting to the root page it serves it twice.

Checklist

  • I discussed the approach on the linked issue before starting (or this is a trivial fix: typo, docs, obvious one-liner)
  • This PR is focused on a single change
  • I ran npm run format in ui/leafwiki-ui (and in e2e if e2e tests changed)
  • I updated documentation if needed

…crawlers (perber#1292)

Adds server-side rendering of page Markdown into the SPA shell's initial
response for crawlers, link-preview bots, and LLM agents that don't execute
JavaScript, plus robots.txt and sitemap.xml. The SPA still boots and takes
over via createRoot(...).render() exactly as before - this is not full SPA
SSR/hydration. All of it is gated on public-access so private wikis never
leak content to unauthenticated requests.

Signed-off-by: René Jochum <rene@jochum.dev>
…crawlers (perber#1292)

Signed-off-by: René Jochum <rene@jochum.dev>
@jochumdev
jochumdev requested a review from perber as a code owner September 7, 2026 21:33
Signed-off-by: René Jochum <rene@jochum.dev>
@perber

perber commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Hi @jochumdev,

I will leave it open. Let me know if this resolves the issue.

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.

Feature-Request: Server-rendered Markdown on page routes (SEO-friendly, not full SPA SSR)

2 participants