navigation
Control the Previous and Next navigation buttons on project pages.
The navigation
option also supports page-level configuration using front matter.
Options
Option | Type | Description |
---|---|---|
previousButton | PageLink object | Controls the previous page button. |
nextButton | PageLink object | Controls the next page button. |
PageLink object
Option | Type | Description |
---|---|---|
hide | boolean | Specifies if the navigation link button is hidden. Default false . |
text | string | Label text. Default value: Next page or Previous page . |
Examples
Text example
navigation:
nextButton:
text: "Next chapter"
previousButton:
hide:
text:
Hide navigation links example
navigation:
nextButton:
hide: true
previousButton:
hide: true
Resources
- Use front matter to configure navigation button options on individual pages.
- Explore other configuration options for your project.