Merge 647218866e740b34ca77cd5982fecb25ba263b73 into 04423d4931fb0592fa9f0557cebffbdaf576afe9

This commit is contained in:
Zen Visser 2025-02-13 09:45:31 +01:00 committed by GitHub
commit 93dd7bf9b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,7 @@ export default ((opts?: Partial<FolderContentOptions>) => {
const FolderContent: QuartzComponent = (props: QuartzComponentProps) => { const FolderContent: QuartzComponent = (props: QuartzComponentProps) => {
const { tree, fileData, allFiles, cfg } = props const { tree, fileData, allFiles, cfg } = props
const folderSlug = stripSlashes(simplifySlug(fileData.slug!)) const folderSlug = simplifySlug(fileData.slug!)
const folderParts = folderSlug.split(path.posix.sep) const folderParts = folderSlug.split(path.posix.sep)
const allPagesInFolder: QuartzPluginData[] = [] const allPagesInFolder: QuartzPluginData[] = []