From 807b0f04eff760fa059e3f04d11456ff3fe453c5 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Mon, 20 Dec 2021 17:23:25 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E7=BC=96=E8=AF=91=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ArticleDetail.js | 2 +- components/SideArea.js | 8 ++++---- components/SideAreaRight.js | 8 ++++---- components/StickyBar.js | 2 +- pages/tag/[tag].js | 5 ++++- 5 files changed, 14 insertions(+), 11 deletions(-) diff --git a/components/ArticleDetail.js b/components/ArticleDetail.js index 010e8c15..c7f9a011 100644 --- a/components/ArticleDetail.js +++ b/components/ArticleDetail.js @@ -41,7 +41,7 @@ export default function ArticleDetail ({ post, blockMap, recommendPosts, prev, n return (<>
{post.type && !post.type.includes('Page') && post?.page_cover && ( diff --git a/components/SideArea.js b/components/SideArea.js index 7f945890..828a3ea1 100644 --- a/components/SideArea.js +++ b/components/SideArea.js @@ -28,12 +28,12 @@ const SideArea = ({ title, tags, currentTag, post, posts, categories, currentCat
-
+
{/* 菜单 */} -
+
@@ -42,7 +42,7 @@ const SideArea = ({ title, tags, currentTag, post, posts, categories, currentCat {/* 分类 */} {!post && categories && ( -
+
{locale.COMMON.CATEGORY}
@@ -58,7 +58,7 @@ const SideArea = ({ title, tags, currentTag, post, posts, categories, currentCat
{post && post.toc && post.toc.length > 1 && ( -
+
{locale.COMMON.TABLE_OF_CONTENTS}
diff --git a/components/SideAreaRight.js b/components/SideAreaRight.js index 479505dd..4e7e84f2 100644 --- a/components/SideAreaRight.js +++ b/components/SideAreaRight.js @@ -38,7 +38,7 @@ const SideAreaRight = ({ return ( <> -
+
{/* 展示广告 */} {/* 最新文章 */} {posts && ( -
+
@@ -68,7 +68,7 @@ const SideAreaRight = ({ {/* 标签云 */} {tags && ( -
+
@@ -89,7 +89,7 @@ const SideAreaRight = ({ {/* 分类 */} {post && categories && ( -
+
{locale.COMMON.CATEGORY}
diff --git a/components/StickyBar.js b/components/StickyBar.js index 18f10349..05b4c2c6 100644 --- a/components/StickyBar.js +++ b/components/StickyBar.js @@ -9,7 +9,7 @@ const StickyBar = ({ children }) => { if (!children) return <> return (