Add parameters, menu sections

master
Will Faught 2 years ago
parent 20a32621fc
commit 6e3eaecc38

@ -162,6 +162,8 @@ See [Hugo's quick start guide](https://gohugo.io/getting-started/quick-start/) f
## Configure ## Configure
### Parameters
There is a single parameter object with sensible defaults that can be overridden in site or page parameters: There is a single parameter object with sensible defaults that can be overridden in site or page parameters:
```toml ```toml
@ -285,6 +287,8 @@ message = "Alert!" # Markdown displayed before the page body
type = "primary" # Bootstrap alert type type = "primary" # Bootstrap alert type
``` ```
### Menu
An optional menu can be configured. An optional menu can be configured.
The active menu item has a URL that is a prefix of the path of the current page. The active menu item has a URL that is a prefix of the path of the current page.
A menu item with the URL `/` only matches a `/` path. A menu item with the URL `/` only matches a `/` path.

Loading…
Cancel
Save