From fc5fa48bf18ec0bc0b7a7e31a086428664117e04 Mon Sep 17 00:00:00 2001
From: JONG HWAN KIM <99215801+JongDeug@users.noreply.github.com>
Date: Tue, 20 Feb 2024 06:36:54 +0000
Subject: [PATCH] feat(i18n): change itemsUnderFolder, itemsUnderTag translation of ko-KR (#905)
---
quartz/processors/parse.ts | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/quartz/processors/parse.ts b/quartz/processors/parse.ts
index fab1795..3950fee 100644
--- a/quartz/processors/parse.ts
+++ b/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)
--
Gitblit v1.10.0