Merge 647218866e740b34ca77cd5982fecb25ba263b73 into dd6bd498db25344b2cccf56abfb656576a496d38

This commit is contained in:
Zen Visser 2025-02-20 15:07:42 +05:30 committed by GitHub
commit 2c7fe71d3d
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[] = []