Navigation is fully customizable by updating the navigation.yaml
file located in your source/_data
folder.
Within that file you will describe how the navigation/menu links will be presented to the user.
Navigation entries are grouped by category.
There are two main navigation categories:
For each navigation item you must define a type
and, depending on the type
, other attributes such as text
and/or path
.
Each navigation item can have a special property called children
, that, as you might have guessed, gives you the ability to “nest” navigation entries.
source/_data/navigation.yaml example
1 | logo: |
There are two types
of navigation items:
path
value)
The path
value for a link navigation item is just the markdown filepath
, but with .html
as extension.