From 232652149a287054df7e7c5136dafd3f55a79bf0 Mon Sep 17 00:00:00 2001
From: Sohaib <98542228+sohaibology@users.noreply.github.com>
Date: Tue, 15 Aug 2023 00:59:47 +0000
Subject: [PATCH] Update hosting.md (#371)

---
 quartz/plugins/transformers/lastmod.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/quartz/plugins/transformers/lastmod.ts b/quartz/plugins/transformers/lastmod.ts
index ecdcc41..15dd89e 100644
--- a/quartz/plugins/transformers/lastmod.ts
+++ b/quartz/plugins/transformers/lastmod.ts
@@ -27,7 +27,7 @@
             let modified: MaybeDate = undefined
             let published: MaybeDate = undefined
 
-            const fp = path.join(file.cwd, file.data.filePath as string)
+            const fp = path.posix.join(file.cwd, file.data.filePath as string)
             for (const source of opts.priority) {
               if (source === "filesystem") {
                 const st = await fs.promises.stat(fp)

--
Gitblit v1.10.0