From 1da467d2143a260af8e5b7d2d2f68f0fcaa0260c Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sat, 05 Aug 2023 23:43:50 +0000
Subject: [PATCH] non-admonition callout fix
---
quartz/processors/parse.ts | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/quartz/processors/parse.ts b/quartz/processors/parse.ts
index 23af762..52dc519 100644
--- a/quartz/processors/parse.ts
+++ b/quartz/processors/parse.ts
@@ -91,7 +91,7 @@
}
// base data properties that plugins may use
- file.data.slug = slugifyFilePath(path.relative(argv.directory, file.path) as FilePath)
+ file.data.slug = slugifyFilePath(path.posix.relative(argv.directory, file.path) as FilePath)
file.data.filePath = fp
const ast = processor.parse(file)
@@ -103,7 +103,6 @@
}
} catch (err) {
trace(`\nFailed to process \`${fp}\``, err as Error)
- throw err
}
}
--
Gitblit v1.10.0