File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ function createKnowledgeBaseCategoryPage (category, pages) {
3636 'page-layout' : 'kb-category' ,
3737 'page-category' : category ,
3838 'page-category-pages' : pages ,
39- 'page-theme' : 'kb'
39+ 'page-theme' : 'kb' ,
40+ 'page-breadcrumb' : category
4041 }
4142 } ,
4243 src : {
@@ -61,7 +62,6 @@ function addKnowledgeBaseTagPages (pages, contentCatalog) {
6162 page . asciidoc . attributes . tags
6263 } )
6364 . reduce ( ( acc , page ) => {
64- // category must be a single value
6565 const tagsAttribute = page . asciidoc . attributes . tags
6666 const tags = tagsAttribute . trim ( ) . split ( ',' ) . map ( ( value ) => value . trim ( ) . toLowerCase ( ) )
6767 for ( const tag of tags ) {
@@ -90,7 +90,8 @@ function createKnowledgeBaseTagPage (tag, pages) {
9090 'page-layout' : 'kb-tag' ,
9191 'page-tag' : tag ,
9292 'page-tag-pages' : pages ,
93- 'page-theme' : 'kb'
93+ 'page-theme' : 'kb' ,
94+ 'page-breadcrumb' : tag
9495 }
9596 } ,
9697 src : {
You can’t perform that action at this time.
0 commit comments