--- import FormattedDate from '@components/FormattedDate.astro'; interface Props { title: String; date: Date; slug?: String; } const { title, date, slug } = Astro.props; ---

{slug ? {title} : title}

🗓️