--- import type { Post } from "../types/global"; import { findImageByPath } from "../lib/findImage"; import { Image } from "astro:assets"; interface Props { post: Post; url: string; } const { post, url } = Astro.props; const img = findImageByPath(post.image.path); --- Autor: {post.author} {post.date} {post.title} {post.subtitle} {post.description}
{post.description}