--- import Base from './Base.astro'; import Nav from '../components/Nav.astro'; import Footer from '../components/Footer.astro'; interface Props { title: string; description: string; date: Date; author: string; tags: string[]; } const { title, description, date, author, tags } = Astro.props; const formattedDate = date.toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric', }); ---