--- import "@fontsource-variable/fraunces"; import "@fontsource-variable/newsreader"; import "@fontsource/jetbrains-mono"; import "../styles/global.css"; import { copyrightYearRange } from "../lib/copyright-year"; import { siteConfig } from "../site.config"; interface Props { title: string; description?: string; /** Widens .container for dashboard-style layouts (currently just the homepage). */ wide?: boolean; /** Site-root-relative path to a per-page OG image, e.g. /images/og/writings/foo.png */ ogImage?: string; } const { title, description, wide = false, ogImage } = Astro.props; const metaDescription = description ?? siteConfig.description; const currentPath = Astro.url.pathname; const copyrightRange = await copyrightYearRange(); const pageTitle = `${title} — ${siteConfig.title}`; const ogImageUrl = new URL(ogImage ?? "/favicon.svg", siteConfig.baseUrl).href; ---