From 69ac8a13c4a25c7c62511bb19281ea3b227bf4ad Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Tue, 26 Apr 2022 13:30:47 +0800 Subject: [PATCH] =?UTF-8?q?hexo:=20=E9=80=82=E9=85=8Dipad=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/NotionPage.js | 2 +- themes/hexo/LayoutBase.js | 9 +++++---- themes/hexo/LayoutSlug.js | 2 +- themes/hexo/components/SideRight.js | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/components/NotionPage.js b/components/NotionPage.js index b0c58f5c..f9a58f64 100644 --- a/components/NotionPage.js +++ b/components/NotionPage.js @@ -47,7 +47,7 @@ const NotionPage = ({ post }) => { } } - return
+ return
{
-
+
{onLoading ? : children}
- - +
+ +
diff --git a/themes/hexo/LayoutSlug.js b/themes/hexo/LayoutSlug.js index e914a191..ce832a68 100644 --- a/themes/hexo/LayoutSlug.js +++ b/themes/hexo/LayoutSlug.js @@ -58,7 +58,7 @@ export const LayoutSlug = props => {
{/* Notion文章主体 */} -
+
{post && }
diff --git a/themes/hexo/components/SideRight.js b/themes/hexo/components/SideRight.js index 7d690632..b730d558 100644 --- a/themes/hexo/components/SideRight.js +++ b/themes/hexo/components/SideRight.js @@ -13,7 +13,7 @@ export default function SideRight(props) { } = props return ( -
+
{CONFIG_HEXO.WIDGET_ANALYTICS && }