--- const { slug, title, type, description, tags = [], created_at, updated_at, notes, } = Astro.props; const formatDate = (dateStr: string | undefined) => { if (!dateStr) return "–"; const date = new Date(dateStr); return isNaN(date.getTime()) ? "Invalid date" : date.toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric', }); }; ---

{title}

{type}

{notes}

{tags.map((tag: string) => ( {tag} ))}
View Details

Prompt

{description}


Created: {formatDate(created_at)} • Updated: {formatDate(updated_at)}