From 028bcec62c3ca019a96783f17eaee1ecce6e092b Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 07 Aug 2023 00:09:29 +0000
Subject: [PATCH] mobile fixes, fix bug when linking to anchor on home, docs

---
 quartz/build.ts |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/quartz/build.ts b/quartz/build.ts
index 9f38882..ffa863c 100644
--- a/quartz/build.ts
+++ b/quartz/build.ts
@@ -4,14 +4,14 @@
     // source map hack to get around query param
     // import cache busting
     if (source.includes(".quartz-cache")) {
-      let realSource = fileURLToPath(source.split("?", 2)[0] + '.map')
+      let realSource = fileURLToPath(source.split("?", 2)[0] + ".map")
       return {
-        map: fs.readFileSync(realSource, 'utf8')
+        map: fs.readFileSync(realSource, "utf8"),
       }
     } else {
       return null
     }
-  }
+  },
 })
 
 import path from "path"

--
Gitblit v1.10.0