--- import type { Thing } from "schema-dts"; import JsonLd from "./JsonLd.astro"; type Props = { readonly description: string; readonly preview: string; readonly robots?: string; readonly schema: Thing[]; readonly title: string; }; const { description, preview, robots = "index, follow", schema, title } = Astro.props; const canonicalUrl = new URL(Astro.url.pathname, Astro.site); const previewUrl = new URL(preview, Astro.site); --- {title}