Use the breadcrumbs
option to control the links displayed at the top of the page to indicate a page's location in the navigation structure.
The breadcrumbs
option also supports page-level configuration using front matter.
Breadcrumbs are enabled by default, but can be disabled to remove them from your published project. You can also add links that you want to always appear on every page at the start of the breadcrumbs links.
Option | Type | Description |
---|---|---|
hide | boolean | Disables breadcrumb links in the project when set to true .Default value: false |
prefixItems | [Breadcrumb object] | A list of breadcrumb links to always be displayed first. |
Option | Type | Description |
---|---|---|
page | string | REQUIRED. Path to the file which represents the page to link to. If you do not include the label property, the text for the link will match the level 1 heading of the page. |
label | string | Link text displayed for the item. |
labelTranslationKey | string | Translation key used for localization. |
icon | string | A Font Awesome or relative path to icon image file. Font Awesome icons can be prefixed with type: duotone , solid , regular or brands . Example: book , duotone book , ./images/config-icon.svg . |
breadcrumbs:
hide: false
prefixItems:
- page: index.page.tsx
label: Home
labelTranslationKey: home.title
icon: home
- Navigation concepts - Understand different navigation elements in your project including breadcrumbs and their role in user experience
- Configure navigation elements - Customize navigation elements including sidebar, navbar, footer, and breadcrumbs for optimal site organization
- Front matter configuration - Configure breadcrumb behavior and appearance on individual pages using front matter for granular control
- Configuration options - Explore other project configuration options for comprehensive documentation and platform customization
- Markdown configuration options - Customize default items on Markdown pages including time stamps and table of contents for enhanced breadcrumb integration
- Navigation configuration options - Configure previous and next navigation buttons and label text for seamless breadcrumb navigation flow