Uncomment Breadcrumbs component in default layout

This commit is contained in:
enneaa 2025-12-09 21:46:08 +08:00 committed by GitHub
parent 0d4af831e0
commit 11426034cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,10 +18,10 @@ export const sharedPageComponents: SharedLayout = {  
// components for pages that display a single page (e.g. a single note)    
export const defaultContentPageLayout: PageLayout = {   
beforeBody: [
// Component.ConditionalRender({
// component: Component.Breadcrumbs(),
// condition: (page) => page.fileData.slug !== "index",
// }),
Component.ConditionalRender({
component: Component.Breadcrumbs(),
condition: (page) => page.fileData.slug !== "index",
}),
Component.ArticleTitle(),
Component.ContentMeta(),
],