Problem
Every pre-rendered page carries the same <title> ("Bench Review — The Chamber of Secrets") and the one meta description from stx.config.ts:24-28. Judge-name searches are this site's acquisition channel, and crawlers currently see one title sitewide.
Findings
- ~30 views author
@section('title', ...), butresources/layouts/default.stxis a body-only fragment with no@yield, so the sections are silently dropped; titles apply only via client JS after hydration, which the first indexing wave never executes. - Root cause is an stx SSG gap:
buildApp()has no per-page head mechanism, andstripDocumentWrapper()actively strips page-authored<title>/<meta>— tracked upstream in https://github.com/stacksjs/stx/issues/1756.
Acceptance criteria
- Per-view title + meta description render into the static
<head>at build time (via the stx fix or an interim post-build injection step) - Every public page has a unique, keyword-bearing title (e.g. "Judge {name} reviews — {court} | Bench Review")
- "The Chamber of Secrets" dropped from the production default title/description
Split out from the SEO bundle of the 2026-06-10 production-readiness audit. Upstream: stacksjs/stx#1756.