Skip to content

nav-weight

Order and hide navigation entries using page metadata. Native support was added in Zensical 0.0.69.

Place an introduction before alphabetically earlier pages; hide a supporting page from navigation.

Try it

Open the nav-weight example.

Weighted order

Zebra appears before Apple despite its alphabetical position.

Different weights

Inspect their front matter: Zebra has weight −10 and Apple has weight 10.

Source and configuration

The configuration and example Markdown are available in the repository. Other files in that directory supply the example’s fixtures.

Zensical compatibility and settings · Plugin documentation