Skip to main content
Sitemap
Layouts

Page with sub navigation

Layout with sub navigation.

This layout offers a page with sub navigation, appearing to the left of content on wider viewports, and above on narrower ones.

To use this layout, make sub-navigation the value for a page’s layout key:

---
layout: sub-navigation
title: Page title
---

Page content

In addition to common front matter options, this layout also accepts the following options:

Name Type Description
sectionKey string Parent navigation key (typically a page title) to show items below in the sub navigation (default is homeKey value provided in plugin options)
showPagination boolean Show previous/next pagination links at the foot of the page