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

{post.title}

{post.subtitle}

{post.description}

Author: {post.author} {localeDate}