--- import type { CollectionEntry } from 'astro:content'; import BaseLayout from '../layouts/BaseLayout.astro'; import FormattedDate from '../components/FormattedDate.astro'; type Props = CollectionEntry<'blog'>['data']; const { title, description, pubDate, draft, tags, categories } = Astro.props; const [category] = categories; ---

{title}

date published:

category: {category}

`${tag}`) .join(', ')} /> { draft && (

This is a draft! Its content is subject to change.
) }