--- import type { CollectionEntry } from "astro:content"; import { Image } from "astro:assets"; interface Props { shot: CollectionEntry<"shots">; } const { shot } = Astro.props; ---
{shot.data.title
{`${shot.data.date.getFullYear()} – ${shot.data.date.toLocaleString("en-US", { month: "short" })}`}