Fixed menu vs menus typo and documented default name in subnavigation

This commit is contained in:
James Braza 2023-08-06 17:31:55 -07:00
parent 41a430d46f
commit 6ed27a91f0

View file

@ -228,7 +228,8 @@ The theme also supports nested menus. In order to use them you just need to defi
### Sub-Navigation menu ### Sub-Navigation menu
Additionally, you can also configure a sub-navigation menu. Just define new menu entries as `subnavigation` in `menu.toml`. This will render a second line with caregories below the main header menu. Additionally, you can also configure a sub-navigation menu. Just define new menu entries as `subnavigation` in `menus.toml`.
This will render a second line with sub-categories below the main header menu.
```toml ```toml
# config/_default/menus.toml # config/_default/menus.toml
@ -244,7 +245,7 @@ Additionally, you can also configure a sub-navigation menu. Just define new menu
weight = 20 weight = 20
``` ```
The default `name` is the `pageRef` title cased.
## Thumbnails & Backgrounds ## Thumbnails & Backgrounds
@ -256,4 +257,4 @@ Additionally, Blowfish also supports background hero images in articles and list
## Detailed configuration ## Detailed configuration
The steps above are the bare minimum configuration. If you now run `hugo server` you will be presented with a blank Blowfish website. Detailed configuration is covered in the [Configuration]({{< ref "configuration" >}}) section. The steps above are the bare minimum configuration. If you now run `hugo server` you will be presented with a blank Blowfish website. Detailed configuration is covered in the [Configuration]({{< ref "configuration" >}}) section.