--- import type { CollectionEntry } from "astro:content"; interface Props { post: CollectionEntry<"posts">; } const { post: { data: { slug, title, tags, description, added: date }, }, }: Props = Astro.props; ---
  • {title}
    {description && {description}}
    { tags && tags.map((tag: string) => ( #{tag} )) }