--- import { findImageByPath } from "../lib/findImage"; import type { Post } from "../types/global"; interface Props { post: Post; url: string; } const { post, url } = Astro.props; const img = findImageByPath(post.image.path) const localeDate = new Date(post.date).toLocaleDateString() ---
{post.image.alt}

{post.title}

{post.subtitle}

{post.description}

Author: {post.author} {localeDate}