{title}
{subTitles?.map((subTitle) => ({subTitle}
))}
{pageEnabled ? :
--- import "@styles/global.css"; import Footer from "@components/Footer.astro"; import H1 from "@components/H1.astro"; import Navbar from "@components/Navbar.astro"; import PageGroup from "@components/PageGroup.astro"; import { pathToMetadata } from "@data/site-layout.ts"; interface Props { title?: string; subTitles?: string[]; showTitle?: boolean; } const { title, subTitles, showTitle = true } = Astro.props; const pageTitle = Astro.props.title ? `${Astro.props.title} - Corwin Perren` : "Corwin Perren"; const pageEnabled = pathToMetadata(Astro.url.pathname).enabled ?? true; ---
{subTitle}
))}