fix: sidebar
This commit is contained in:
parent
00615012a4
commit
a2794d72ea
@ -49,7 +49,10 @@ defineProps({
|
||||
.sidebar-items {
|
||||
font-size: 16px;
|
||||
padding-left: 1.25rem;
|
||||
font-weight: 300;
|
||||
|
||||
li a {
|
||||
font-weight: 300;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -149,7 +149,6 @@ function findNotePage(
|
||||
} else {
|
||||
return notePageList.find((page) => {
|
||||
const relative = page.relativePath.join('/')
|
||||
console.log(relative, dir, sidebar)
|
||||
return (
|
||||
relative === path.join(dir, sidebar) ||
|
||||
relative === path.join(dir, sidebar + '.md') ||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user