mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
perf(theme): sidebar hooks
This commit is contained in:
parent
6ddc00986f
commit
ed1610916b
@ -38,7 +38,8 @@ export function useSidebar() {
|
||||
return (
|
||||
!frontmatter.value.home &&
|
||||
!page.value.isBlogPost &&
|
||||
sidebar.value.length > 0
|
||||
sidebar.value.length > 0 &&
|
||||
frontmatter.value.sidebar !== false
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user