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

{post.title}

{post.subtitle}
{localeDate} Autor: {post.author}

{post.description}