feat(breadcrumbs): add option to hide current page (#601)
* feat(breadcrumbs): add option to hide current page * Remove debug lines Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com> --------- Co-authored-by: ruant <ruant@ruant.net> Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
This commit is contained in:
		@@ -20,6 +20,7 @@ Component.Breadcrumbs({
 | 
			
		||||
  rootName: "Home", // name of first/root element
 | 
			
		||||
  resolveFrontmatterTitle: true, // whether to resolve folder names through frontmatter titles
 | 
			
		||||
  hideOnRoot: true, // whether to hide breadcrumbs on root `index.md` page
 | 
			
		||||
  showCurrentPage: true, // wether to display the current page in the breadcrumbs
 | 
			
		||||
})
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user