--- interface Props { title: string; description: string; canonicalUrl: string; ogImage?: string; jsonLd?: object | object[]; base: string; siteUrl: string; } const { title, description, canonicalUrl, jsonLd, base, siteUrl } = Astro.props; const ogImage = Astro.props.ogImage ?? `${base}/images/prometheus-logo.png`; const fullOgImage = ogImage.startsWith('http') ? ogImage : `${siteUrl}${ogImage}`; const jsonLdArray = jsonLd ? Array.isArray(jsonLd) ? jsonLd : [jsonLd] : []; --- {title} {jsonLdArray.map((schema) => (