OfferedMenus
module OfferedMenus| Assembly | Nacara.Theme.Default |
| Attributes | [<RequireQualifiedAccess>] |
The menus plugins offered for the sections they generate.
Read when the theme is registered, which is why a theme is registered after the plugins whose pages it will draw. A site that writes its own menu for a section never reaches these.
Functions and values
forSection (section: string) : MenuOutline option
forSection (section: string) : MenuOutline optionThe menu offered for a section, if one was.
| Parameter | |
|---|---|
section | The first segment of the routes it covers. |
remember (menus: MenuOutline list) : unit
remember (menus: MenuOutline list) : unitRemember what plugins offered.
| Parameter | |
|---|---|
menus | Every MenuOutline registered so far. |