--- import Navbar from '../components/navbar.astro' import NavbarEntry from '../components/navbarEntry.astro' import navdata from '../../static/data/_navdata.json' export interface Props { title: string currentpage: string descriptionOverride?: string } const { descriptionOverride, currentpage, title } = Astro.props let description if (descriptionOverride === undefined) { description = 'Firqs own site!' } else { description = descriptionOverride } let currPage = 'https://firq.dev/' if (currentpage !== 'home') { currPage += currentpage } --- {title} { navdata.map((item) => ( )) }