--- import { Image } from "astro:assets"; import type { CollectionEntry } from "astro:content"; import FormattedDate from "@/components/FormattedDate.astro"; interface Props { content: CollectionEntry<"post">; readingTime: string; } const { content: { data }, readingTime, } = Astro.props; const dateTimeOptions: Intl.DateTimeFormatOptions = { month: "long", }; --- { data.coverImage && (