The theme adds Breadcrumb support, you can config it using
breadcrumb in page frontmatter and theme options Support page config , the default value is
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
To ensure Breadcrumb working well, the
README.md file should be included in each folder.
Otherwise, the Breadcrumb will ignore that folder level because the component can not generate title and link.
Please remember to set a title for HOME PAGE!
Page config support
Support local configurationSupport page config means that the theme allows the configuration of the page to override the global configuration.↩︎
Take path navigation as an example:
This feature is enabled globally by default, that is,
breadcrumbin theme options is
trueby default, and you can set
breadcrumb: falsein the Front Matter of a specific page to disable it locally.
Of course, you can also set the
breadcrumb: falsein theme options to disable it globally, and set
breadcrumb: truein the Front Matter of a specific page to enable it locally.