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