--- import markdownToText from "@helpers/markdownToText"; interface Props { post: { data: { title: string; description: string; icon: string; tags: string[]; }; collection: string; body: string; slug: string; }; } const { post } = Astro.props; ---

{post.data.icon && } {post.data.title}

{post.data.description || markdownToText(post.body).slice(0, 200)}

{ post.data.tags && (
{post.data.tags.map((tag) => ( {tag} ))}
) }