mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 14:54:05 -06:00
fix(regression): set default home page as "." (closes #1702)
Update home path to "." to resolve joinSegments correctly.
This commit is contained in:
parent
c98ef7e89f
commit
eef13b9484
@ -65,7 +65,7 @@ export default ((opts?: Partial<BreadcrumbOptions>) => {
|
||||
}
|
||||
|
||||
// Format entry for root element
|
||||
const firstEntry = formatCrumb(options.rootName, fileData.slug!, "/" as SimpleSlug)
|
||||
const firstEntry = formatCrumb(options.rootName, fileData.slug!, "." as SimpleSlug)
|
||||
const crumbs: CrumbData[] = [firstEntry]
|
||||
|
||||
if (!folderIndex && options.resolveFrontmatterTitle) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user