--- import { format } from "date-fns"; type ArticleProps = { title: string; date_published?: Date; tags?: string[]; }; let { title, date_published, tags } = Astro.props as ArticleProps; ---

{title}

{ date_published && ( <> • ) } {tags &&

{tags.join(", ")}

}