From df21287d22577d7c9e58d9e6ac09c462435bdfef Mon Sep 17 00:00:00 2001 From: Major Date: Wed, 7 Feb 2024 20:29:24 +0800 Subject: [PATCH 1/2] =?UTF-8?q?GoogleFonts=E7=9A=84=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E7=8E=B0=E5=9C=A8=E8=BF=94=E5=9B=9Ecss=E8=80=8C=E9=9D=9Ewoff?= =?UTF-8?q?=EF=BC=8C=E5=86=8D=E5=8A=A0=E4=B8=80=E4=B8=AA=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/_document.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/_document.js b/pages/_document.js index e1e78253..1acc1b6c 100644 --- a/pages/_document.js +++ b/pages/_document.js @@ -20,7 +20,7 @@ class MyDocument extends Document { } {BLOG.FONT_URL?.map((fontUrl, index) => { - if (fontUrl.endsWith('.css')) { + if (fontUrl.endsWith('.css') || fontUrl.includes('googleapis.com/css')) { return } else { return From ec9da76277f81e1ab64d807d14545ad487ef4266 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Thu, 8 Feb 2024 10:09:42 +0800 Subject: [PATCH 2/2] fix collection --- lib/notion/getNotionData.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/notion/getNotionData.js b/lib/notion/getNotionData.js index 9a1dff7c..80466b9e 100755 --- a/lib/notion/getNotionData.js +++ b/lib/notion/getNotionData.js @@ -75,7 +75,7 @@ function cleanBlock(post) { delete pageBlock[i]?.value?.alive } - delete post?.blockMap?.collection + // delete post?.blockMap?.collection return post }