Skip to content

Commit

Permalink
Document virtual sections
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasgeiter committed Feb 12, 2022
1 parent b4a843c commit 549bf3c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,20 @@ nav:
- Link Title: https://lukasgeiter.com
```

#### Sections

You can group items by creating new sections.

```yaml
nav:
- introduction.md
- Section 1:
- page1.md
- page2.md
- Section 2:
- ...
```

### Change Sort Order

Create a file named `.pages` in a directory and set the `order` attribute to `asc` or `desc` to change the order of navigation items.
Expand Down

0 comments on commit 549bf3c

Please sign in to comment.