mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-05-19 06:54:18 +02:00
Merge 647218866e740b34ca77cd5982fecb25ba263b73 into 04423d4931fb0592fa9f0557cebffbdaf576afe9
This commit is contained in:
commit
93dd7bf9b8
@ -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