From 1ddd7adf3780d1c28c2e2e7efa6fb6f8cda65b51 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Fri, 3 Dec 2021 16:11:05 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20=E8=AF=84=E8=AE=BA=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E7=A9=BA=E7=99=BD=EF=BC=9B=20=E8=B5=9E=E8=B5=8F=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=BE=AE=E8=B0=83=EF=BC=9B=20=E4=BE=A7=E8=BE=B9?= =?UTF-8?q?=E6=A0=8F=E3=80=81=E8=AF=A6=E6=83=85=E9=A1=B5=E5=BE=AE=E8=B0=83?= =?UTF-8?q?=E6=8E=92=E7=8F=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Comment.js | 14 ++++---- components/LatestPostsGroup.js | 7 ++-- components/RecommendPosts.js | 2 +- components/RewardButton.js | 10 +++--- components/SideBar.js | 12 +++---- pages/article/[slug].js | 64 ++++++++++++++++------------------ 6 files changed, 53 insertions(+), 56 deletions(-) diff --git a/components/Comment.js b/components/Comment.js index c376d704..cf31b7b2 100644 --- a/components/Comment.js +++ b/components/Comment.js @@ -28,7 +28,7 @@ const Comment = ({ frontMatter }) => { return
{/* 评论插件 */} - {BLOG.comment.provider === 'gitalk' && ( + {BLOG.comment.provider === 'gitalk' && (
{ distractionFreeMode: BLOG.comment.gitalkConfig.distractionFreeMode }} /> - )} - {BLOG.comment.provider === 'utterances' && ( +
)} + {BLOG.comment.provider === 'utterances' && (
+
)} {BLOG.comment.provider === 'cusdis' && ( - <> +