--- // 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}

}

{data.title} {data.titleKind && {data.titleKind}} {data.since && since {data.since}}