--- import type { CollectionEntry } from 'astro:content'; import { render } from 'astro:content'; import { Picture } from 'astro:assets'; import Base from '../layouts/Base.astro'; import { formatDate, localePath, t, type Lang } from '../i18n/ui'; interface Props { lang: Lang; post: CollectionEntry<'insights'> } const { lang, post } = Astro.props; const ui = t(lang); const { Content } = await render(post); const d = post.data; ---

{d.title}

{d.subtitle &&

{d.subtitle}

}
{d.cover &&
}