From 22c9ca095b3f00655a25e47466beaa3457826b29 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sun, 13 Feb 2022 11:50:11 +0800 Subject: [PATCH] =?UTF-8?q?feature:=20=E6=A0=87=E7=AD=BE=20=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/Medium/LayoutCategory.js | 4 ++-- themes/Medium/LayoutTag.js | 4 ++-- themes/Medium/components/LogoBar.js | 10 ---------- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/themes/Medium/LayoutCategory.js b/themes/Medium/LayoutCategory.js index 3a4bb0e9..caa5c5a8 100644 --- a/themes/Medium/LayoutCategory.js +++ b/themes/Medium/LayoutCategory.js @@ -1,8 +1,8 @@ import LayoutBase from './LayoutBase' +import BlogPostListPage from './components/BlogPostListPage' export const LayoutCategory = (props) => { - const { category } = props return - Category - {category} + } diff --git a/themes/Medium/LayoutTag.js b/themes/Medium/LayoutTag.js index 5cfacb20..d0d5b556 100644 --- a/themes/Medium/LayoutTag.js +++ b/themes/Medium/LayoutTag.js @@ -1,8 +1,8 @@ import LayoutBase from './LayoutBase' +import BlogPostListPage from './components/BlogPostListPage' export const LayoutTag = (props) => { - const { tag } = props return - Tag - {tag} + } diff --git a/themes/Medium/components/LogoBar.js b/themes/Medium/components/LogoBar.js index 2643a269..c4fb5b1d 100644 --- a/themes/Medium/components/LogoBar.js +++ b/themes/Medium/components/LogoBar.js @@ -2,23 +2,13 @@ import BLOG from '@/blog.config' import Link from 'next/link' export default function LogoBar () { - // const { locale } = useGlobal() - return
{BLOG.TITLE} - {/* */} - {/* {locale.NAV.ABOUT} */} - {/* */}
- {/* {BLOG.CONTACT_EMAIL && */} - {/*
*/} - {/* */} - {/*
*/} - {/* } */}
}