--- 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) --- {post.title} {post.subtitle} {post.description} Author: {post.author} {post.date}
{post.description}