--- import type { CollectionEntry } from 'astro:content'; import RootLayout from '../layouts/RootLayout.astro'; import FormattedDate from '../components/FormattedDate.astro'; import NotchedBox from '../components/NotchedBox.astro'; import { Image } from 'astro:assets'; type Props = CollectionEntry<'blog'>['data'] & { slug: string; }; const { slug, title, description, pubDate, updatedDate, heroImage, tags } = Astro.props; ---
{heroImage && }

{title}

{ tags &&
{ tags.map(tag => #{tag} ) }
}