mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
fix(theme): incorrect collection auto complete
This commit is contained in:
parent
22b65fd22c
commit
2a8385f3aa
@ -30,6 +30,6 @@ function completeCollectionItems(collection: ThemeCollectionItem): void {
|
||||
collection.categories && (collection.categoriesLink ||= `${collection.linkPrefix}categories/`)
|
||||
}
|
||||
else {
|
||||
collection.linkPrefix = normalizePath(`/${collection.dir}/`)
|
||||
collection.linkPrefix ||= normalizePath(`/${collection.dir}/`)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user