Skip to content
helia-ui
Starlight plugin
HELIA HUB

Starlight plugin

A page that opens with a hero.

Starlight draws the page title above the content of every page that has no hero frontmatter. This page asks it not to, so the headline below is the page's only h1.

Headings on the page

1

Skip link target

Kept

helia: { pageTitle: false } is read by the PageTitle override the plugin installs. The heading goes; a bare _top anchor stays in its place, which is what the skip link at the top of the page and the overview entry in the table of contents point at. The panel that held the title collapses, so the hero is the first thing under the header rather than the second.

Every other page of this site is untouched: leave the field off and Starlight’s own heading renders exactly as it always did.

The hero headline is an h1 by default, and it has to stay one here: the page needs a heading, and suppressing the title removes the one Starlight gave it. A section hero further down the same page takes titleAs="h2".