Path Navigation
The theme adds Breadcrumb support, you can configure it using breadcrumb
in page frontmatter and theme options Support page config [1], the default value is true
.
Without any config, a Breadcrumb that matches the theme color is displayed at the top of the page content to help the reader understand the document structure.
You can also control the icon display of the path navigation using breadcrumbIcon
field Support page config, the default value is true
.
If you don't want a page to be added to the breadcrumb (e.g.: home page), you can set breadcrumbExclude: true
in the frontmatter of the page.
Page config support
Support local configurationSupport page config means that the theme allows the configuration of the page to override the global configuration.
↩︎Example
Take path navigation as an example:
This feature is enabled globally by default, that is,
breadcrumb
in theme options istrue
by default, and you can setbreadcrumb: false
in the frontmatter of a specific page to disable it locally.Of course, you can also set the
breadcrumb: false
in theme options to disable it globally, and setbreadcrumb: true
in the frontmatter of a specific page to enable it locally.