Add parameters, menu sections
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user