mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
This commit is contained in:
parent
9fe294b9dd
commit
dbc6f0be0f
@ -173,7 +173,7 @@ function getAutoDirSidebar(
|
||||
current.text = title
|
||||
}
|
||||
}
|
||||
if (frontmatter.icon) {
|
||||
if (frontmatter.icon && dir.endsWith('.md')) {
|
||||
current.icon = frontmatter.icon as ThemeIcon
|
||||
}
|
||||
if (parent?.items?.length) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user