// Route-page generator (spec-v8 §2): build-time per-route HTML. Runs after // `vite build`, before the sitemap step: reads dist/index.html as the head // template and writes a real file per route so nginx can answer known routes // with 200 and unknown ones with a genuine 404 (spec-v8 §2.1). // // What each generated page carries: // - a head specific to the route: title, description, canonical, og:url, // og:title/og:description and the twitter pair. Static pages read the ui // `meta` group (the six static page manifests claim it); project detail // pages derive the same fields from their content records. The homepage // keeps its existing head — it is already self-canonical and unique — and // only gains the noscript body. // - a