--- import type { CollectionEntry } from "astro:content"; type Props = { entry: CollectionEntry<"blog"> | CollectionEntry<"projects">; }; const { entry } = Astro.props; ---
{entry.data.title}
{entry.data.description}