--- import { findImageByPath } from "../lib/findImage"; import { Image } from "astro:assets"; import { formatLocalizedDateString } from "../lib/formatDate"; import type { PostData } from "../content.config"; interface Props { post: PostData; } const { post } = Astro.props; const img = findImageByPath(post.image.path); const localeDate = formatLocalizedDateString(post.date) ---
{post.description}