Statement
The canonical site URL shall be defined once in site.ts and used as the default for all URL-dependent outputs (sitemap, canonical tags, Open Graph metadata), with environment variables serving only as override mechanisms.
Rationale
The current astro.config.mjs falls back to a hardcoded placeholder URL rather than site.url from site.ts, creating two sources of truth for the canonical URL. A single source prevents silent mismatches in sitemap generation, canonical link tags, and OG metadata.
Topics
Owner: seo-metadata
Related: operational
Applies To
- Site Configuration DOC-00002
- Base Components DOC-00009