-
Notifications
You must be signed in to change notification settings - Fork 15
Navigation
Navigation is defined in _data/navigation.yml
file. You can define two types of navigation items - links and groups (nested links).
If you want add new link to navigation simple modify _data/navigation.yml
file and add:
```
- title: Introduction
url: /
```
This defines title of link and url where you want link.
If you have similar pages (for instance components) you probably want represent them in nested navigation (submenu). In this case use group
parameter with name of group and submenu will be created automatically from all pages which belong to defined group. You can define group for page inside Front Matter section of page. See create content.
```
- title: Guidelines
group: guidelines
```
Links in groups are sorted alphabetically by their title. If you want customize order, use order
attribute in Front Matter section of page. See create content.