Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Feb 9, 2024
2 parents a2789fd + 461f6f3 commit d3285b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/notion/getNotionData.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function cleanBlock(post) {
delete pageBlock[i]?.value?.alive
}

delete post?.blockMap?.collection
// delete post?.blockMap?.collection
return post
}

Expand Down
2 changes: 1 addition & 1 deletion pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 <link key={index} rel="stylesheet" href={fontUrl} />
} else {
return <link key={index} rel="preload" href={fontUrl} as="font" type="font/woff2" />
Expand Down

0 comments on commit d3285b0

Please sign in to comment.