--- import { SITE } from "@config"; import "@styles/base.css"; const googleSiteVerification = import.meta.env.PUBLIC_GOOGLE_SITE_VERIFICATION; export interface Props { title?: string; subtitle?: string; author?: string; description?: string; ogImage?: string; canonicalURL?: string; } const { title = SITE.title, subtitle = SITE.subtitle, author = SITE.author, description = SITE.desc, ogImage = SITE.ogImage, canonicalURL = new URL(Astro.url.pathname, Astro.site).href, } = Astro.props; const socialImageURL = new URL( ogImage ? ogImage : SITE.ogImage, Astro.url.origin ).href; ---