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 } diff --git a/pages/_document.js b/pages/_document.js index a790e769..b2649d79 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