| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
MathiasSM.Context.Nav
Description
The site menu, built from the pages that declare a nav entry
Synopsis
- navContext :: SiteConfig -> String -> Context a
Documentation
navContext :: SiteConfig -> String -> Context a Source #
The site menu as a nav list (label, href, active, lang), built from the
pages that declare `nav:` and ordered by navOrder
current is the name of the page being rendered (its file name without extension, or
its post group); that menu entry is active.