--- import type { CollectionEntry } from "astro:content"; import { Icon } from "astro-icon/components"; export interface Props { post: CollectionEntry<"posts">; } const { post } = Astro.props; const { title, description: blurb, pubDate } = post.data; const { slug } = post; ---

{title}

{blurb || "No description available."}

{ new Date(pubDate).toLocaleDateString("en-us", { month: "long", day: "numeric", year: "numeric", }) }
{ post.data.tags && post.data.tags.length > 0 && (
{post.data.tags.map((tag: string) => (
{tag}
))}
) }