--- import { getFormattedDate } from "@/utils"; import type { CollectionEntry } from "astro:content"; interface Props { content: CollectionEntry<"post">; } const { content } = Astro.props; const datetime = content.data.publishDate.toISOString(); const postDate = getFormattedDate(content.data.publishDate); ---
{content.data.description}