How to Configure Nav Listing in Hugo
Bissetii in Hugo module supplies page index listing inside each directories. Depending on available compatible components, it allows one to change from one style to another. This section guides you on how to switch them easily.
This feature is available starting from version
Default Configurations File
The default configuration is located inside the data file with the following file pathing:
pathing in Bissetii: data/bissetii/defaults.toml your repo-docs : docs/.data/bissetii/defaults.toml
If you do not have such data file, create on in your
repo-docs data directory.
Inside the configuration file, you’re particularly interested with the
following settings (and if they are missing, add them into your own
defaults.toml configuration file):
- Line 5 - select the listing
Nav.Type. See below for available options.
- Line 7-9 - default settings for
Depending on development, the available
nav listing types are as follows:
nav-toc- list like table of content styling. See Nav - TOC Component.
nav-catalog- list like catalog styling. Nav - Catalog Component.
By default, Bissetii selects
That’s all for configuring nav listing in Hugo. Should you have any question, please feel free to raise your queries in our Issues Section.