--- import { findImageByPath } from "../lib/findImage"; import { Image } from "astro:assets"; import { formatLocalizedDateString } from "../lib/formatDate"; import type { PostData } from "../content.config"; 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}
{localeDate} Autor: {post.author} Lesezeit: {post.time2read} min

{post.description}