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