You can now add nested pages, which will be reflected in the sidebar as well.
To create these pages, you just need to:
- Create a sub-directory for the grouped pages
- Make the root parent page
subdirectory/index.md
- Add some additional Frontmatter to the parent and child pages
In the parent page Frontmatter:
children: true
In addition to the normal Frontmatter, add the following to the children pages:
nested: true
parent: Parent Page Title # The title of the parent page
Note: You need to keep the priority
number relative to all pages, not just the other children pages. So, for example, if you have 5 total pages with two being nested, the priority
numbers would be 1-5 for all pages.
That's it! Now you have nested pages.