--- export interface Props { date: string title: string link: string image: string user?: string } const { user, date, image, link, title } = Astro.props const options_date: Intl.DateTimeFormatOptions = { year: 'numeric', month: '2-digit', day: '2-digit', } const formatted_date = new Date(date).toLocaleDateString('de-DE', options_date) const icon: string = `background: url('/ta_icons/${image}.webp')` let hasuser = '' if (user !== undefined) { hasuser = 'hasuser' } ---

{title}

By {user}
{formatted_date}