--- import type { CollectionEntry } from 'astro:content' import { getMonthName } from '$/utils' interface Props { post: CollectionEntry<'blog'>, asCard?: boolean } const { post: { data: post, slug }, asCard = false } = Astro.props ---
{ new Date(post.date).getDate() } { `${getMonthName(post.date)} ${new Date(post.date).getFullYear()}` }

{post.title}

{post.description}