--- import BaseLayout from './BaseLayout.astro'; import FormattedDate from '../components/FormattedDate.astro'; import type { CollectionEntry } from 'astro:content'; interface Props { post: CollectionEntry<'blog'>['data']; } const { post } = Astro.props; const { title, description, pubDate, updatedDate, tags } = post; ---

{title}

{ tags.length > 0 && (
    {tags.map((tag) => (
  • #{tag}
  • ))}
) }