Jacky Zhao
2023-12-28 e758cbe1ee7a2bb128cbd95fd6d3cdcd34623800
quartz/processors/parse.ts
@@ -91,8 +91,9 @@
        }
        // base data properties that plugins may use
        file.data.slug = slugifyFilePath(path.posix.relative(argv.directory, file.path) as FilePath)
        file.data.filePath = fp
        file.data.filePath = file.path as FilePath
        file.data.relativePath = path.posix.relative(argv.directory, file.path) as FilePath
        file.data.slug = slugifyFilePath(file.data.relativePath)
        const ast = processor.parse(file)
        const newAst = await processor.run(ast, file)