mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-05-18 22:44:14 +02:00
Merge 647218866e740b34ca77cd5982fecb25ba263b73 into dd6bd498db25344b2cccf56abfb656576a496d38
This commit is contained in:
commit
2c7fe71d3d
@ -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[] = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user