--- // Page title with the section label above it and an optional "since" badge. import { sectionLabel } from '../../lib/nav'; const { entry, id } = Astro.locals.starlightRoute; const data = entry.data as typeof entry.data & { eyebrow?: string; titleKind?: string; since?: string; searchTitle?: string; }; const eyebrow = data.eyebrow ?? sectionLabel(id); --- {eyebrow &&
{eyebrow}
}