Add a navigation menu to your site
plugins:
navbar: true
navbar.md
file at the root of your vault
.navbar.json
will be created at the root of your kit
folder.To add a basic navigation, simply add a list of links.
- [Link1](relative/path/to/link1)
- [[wikilink|Link2]]
- [Link3](http://external.link.com)
You can customize the icons by adding 2 pipes ||
after your link, followed by one the 1664 icons name from boxicons.com:
- [Link1](relative/path/to/link1) || bx-paper-plane
- [[wikilink|Link2]] || bx-cog
- [Link3](http://external.link.com)
You can opt for a nested navigation menu by nesting links lists into sections.
- section 1
- [Link1](relative/path/to/link1)
- [[wikilink|Link2]]
- [Link3](http://external.link.com)
- section 2
- [Link4](relative/path/to/link4)
- foobar
- [Link5](relative/path/to/link5)
To make a section closed by default, just add a checked checkbox [x]
in front of your section name.
- [x] section 2
- [Link4](relative/path/to/link4)