--- import type { Page } from '../lib/content'; import { absoluteUrl, site } from '../lib/site'; type Props = { page: Page }; const { page } = Astro.props; const description = page.excerpt || site.description; const canonical = absoluteUrl(page.href); const image = absoluteUrl(`/social/${page.id}.jpg`); const imageAlt = page.featureImage?.alt || `Monochrome dithered artwork from ${site.name}.`; --- {page.type === 'article' && ( <> {page.authors?.map((author) => ( ))} {page.date && } )} {page.type === 'profile' && }