From a06904729150d66497bb2c450624169837070aef Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Wed, 5 Apr 2023 13:12:10 +0800 Subject: [PATCH] =?UTF-8?q?hexo=20=E4=B8=8A=E8=BE=B9=E8=B7=9D=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/hexo/LayoutArchive.js | 3 ++- themes/hexo/LayoutBase.js | 2 +- themes/hexo/LayoutCategory.js | 2 +- themes/hexo/LayoutCategoryIndex.js | 2 +- themes/hexo/LayoutPage.js | 2 +- themes/hexo/LayoutSearch.js | 2 +- themes/hexo/LayoutTag.js | 2 +- themes/hexo/LayoutTagIndex.js | 2 +- 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/themes/hexo/LayoutArchive.js b/themes/hexo/LayoutArchive.js index dab9d1ce..94dc9267 100644 --- a/themes/hexo/LayoutArchive.js +++ b/themes/hexo/LayoutArchive.js @@ -17,7 +17,8 @@ export const LayoutArchive = (props) => { }, 300) } }, []) - return + + return
{Object.keys(archivePosts).map(archiveTitle => ( diff --git a/themes/hexo/LayoutBase.js b/themes/hexo/LayoutBase.js index 8f7267a9..27c8e1a9 100644 --- a/themes/hexo/LayoutBase.js +++ b/themes/hexo/LayoutBase.js @@ -75,7 +75,7 @@ const LayoutBase = props => {
-
+
{onLoading ? : children}
diff --git a/themes/hexo/LayoutCategory.js b/themes/hexo/LayoutCategory.js index 12abfa10..7df32650 100644 --- a/themes/hexo/LayoutCategory.js +++ b/themes/hexo/LayoutCategory.js @@ -5,7 +5,7 @@ import BLOG from '@/blog.config' export const LayoutCategory = props => { const { category } = props - return + return
{category} diff --git a/themes/hexo/LayoutCategoryIndex.js b/themes/hexo/LayoutCategoryIndex.js index fc03ded2..0d0a24d0 100644 --- a/themes/hexo/LayoutCategoryIndex.js +++ b/themes/hexo/LayoutCategoryIndex.js @@ -7,7 +7,7 @@ export const LayoutCategoryIndex = props => { const { categoryOptions } = props const { locale } = useGlobal() return ( - +
diff --git a/themes/hexo/LayoutPage.js b/themes/hexo/LayoutPage.js index b0841c1c..ac32c985 100644 --- a/themes/hexo/LayoutPage.js +++ b/themes/hexo/LayoutPage.js @@ -2,7 +2,7 @@ import BlogPostListPage from './components/BlogPostListPage' import LayoutBase from './LayoutBase' export const LayoutPage = (props) => { - return + return } diff --git a/themes/hexo/LayoutSearch.js b/themes/hexo/LayoutSearch.js index ae1e938a..bf9c6daa 100644 --- a/themes/hexo/LayoutSearch.js +++ b/themes/hexo/LayoutSearch.js @@ -38,7 +38,7 @@ export const LayoutSearch = props => { }, 100) }) return ( - + {!currentSearch && <>
diff --git a/themes/hexo/LayoutTag.js b/themes/hexo/LayoutTag.js index df25463a..36a9ce7d 100644 --- a/themes/hexo/LayoutTag.js +++ b/themes/hexo/LayoutTag.js @@ -11,7 +11,7 @@ export const LayoutTag = (props) => { }) return ( - + {tag && (
{ const { tagOptions } = props const { locale } = useGlobal() return ( - +