--- interface Props { title: string; description: string; image?: string; canonical?: string; type?: "website" | "article"; } const { title, description, image = "/images/marisa.png", canonical, type = "website", } = Astro.props; const url = new URL(Astro.url.pathname, Astro.site); const canonicalUrl = canonical ?? url.toString(); const imageUrl = new URL(image, Astro.site).toString(); --- {title}