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