--- import { SITE_NAME, AUTHOR_NAME, TWITTER_HANDLE } from '../data/site'; interface Props { title: string; description: string; canonicalUrl: string; ogImage?: string; ogType?: string; keywords?: string; jsonLd?: object | object[]; base: string; siteUrl: string; datePublished?: string; dateModified?: string; } const { title, description, canonicalUrl, jsonLd, keywords, datePublished, dateModified, base, siteUrl } = Astro.props; const ogType = Astro.props.ogType ?? 'website'; 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} {keywords && } {ogType === 'article' && datePublished && } {ogType === 'article' && dateModified && } {ogType === 'article' && } {jsonLdArray.map((schema) => (