--- import type { CollectionEntry } from "astro:content"; import TagBadge from "./TagBadge.astro"; import { Image } from "astro:assets"; interface Props { post: CollectionEntry<"blog">; } const { post } = Astro.props; function formatDate(date: Date) { const options: Intl.DateTimeFormatOptions = { month: "long", day: "numeric", year: "numeric", }; return date.toLocaleDateString("en-US", options); } ---
{post.data.title}

{post.data.title}

{post.data.description}

{ post.data.tags && post.data.tags.length > 0 && (
{post.data.tags.map((tag) => ( ))}
) }