From 057ca44de6c607a1bd8e1483f928bd0bdd5b1984 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Tue, 21 Dec 2021 16:45:44 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20=E6=96=87=E7=AB=A0=E6=BA=A2=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ArticleDetail.js | 2 +- components/BlogPostCard.js | 6 +++--- components/LoadingCover.js | 2 +- components/ThirdPartyScript.js | 7 ------- layouts/BaseLayout.js | 6 ++---- lib/busuanzi.js | 2 +- pages/archive/index.js | 2 +- 7 files changed, 9 insertions(+), 18 deletions(-) diff --git a/components/ArticleDetail.js b/components/ArticleDetail.js index d9fd7703..e00fa544 100644 --- a/components/ArticleDetail.js +++ b/components/ArticleDetail.js @@ -102,7 +102,7 @@ export default function ArticleDetail ({ post, blockMap, recommendPosts, prev, n {/* Notion文章主体 */} -
+
{blockMap && ( { return ( -
@@ -41,8 +41,8 @@ const BlogPostCard = ({ post, tags }) => { {post?.page_cover && ( -
- {post.title} +
+ {post.title}
)} diff --git a/components/LoadingCover.js b/components/LoadingCover.js index 1bbc0de1..b00a8317 100644 --- a/components/LoadingCover.js +++ b/components/LoadingCover.js @@ -2,7 +2,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faSpinner } from '@fortawesome/free-solid-svg-icons' export default function LoadingCover () { - return (
+ return (
diff --git a/components/ThirdPartyScript.js b/components/ThirdPartyScript.js index 37ae0f19..c30d3c2e 100644 --- a/components/ThirdPartyScript.js +++ b/components/ThirdPartyScript.js @@ -37,13 +37,6 @@ const ThirdPartyScript = () => { /> )} - {/* 不蒜子 - {BLOG.analytics.busuanzi && ( -