Jacky Zhao
2024-01-22 2c8d0f8ab60cbf2e5e5338709e63267d466fb068
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)