--- // Page title, optional subtitle (text prop or `sub` slot) and action buttons // (default slot). Was ui/Page.tsx PageHead. interface Props { title: string sub?: string } const { title, sub } = Astro.props const hasActions = Astro.slots.has('default') ---

{title}

{sub &&

{sub}

} {Astro.slots.has('sub') &&

}
{hasActions &&
}