--- /* The chassis every non-docs page shares: one dark ground, the framed grid, the same nav and footer as the homepage. Pages supply their own
. Docs keep Starlight's shell and are themed through src/styles/starlight.css. */ interface Props { title: string; description: string; canonicalPath: string; ogType?: 'website' | 'article'; ogImage?: string; ogImageAlt?: string; } const { title, description, canonicalPath, ogType = 'website', ogImage = '/assets/og-card-v9.png', ogImageAlt = 'Herdr — run them anywhere, leave them running.', } = Astro.props; import { fmt, releaseVersion, siteStats } from '../site-data'; const canonicalUrl = new URL(canonicalPath, 'https://herdr.dev').toString(); const ogImageUrl = new URL(ogImage, 'https://herdr.dev').toString(); const year = new Date().getFullYear(); /* Same build-time source the homepage uses, so the nav count and the footer version agree across every page without being written down twice. */ const { starCount } = await siteStats(); const version = await releaseVersion(); const facts = version ? `v${version} · Apache 2.0` : 'Apache 2.0'; --- {title}