From fa0aac29f117b75cdb5ebacf9d2532be399a65df Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sun, 25 Dec 2022 16:23:38 +0800 Subject: [PATCH] matery --- themes/matery/LayoutSlug.js | 1 - themes/matery/components/ArticleInfo.js | 2 +- themes/matery/components/SideBar.js | 5 +++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/matery/LayoutSlug.js b/themes/matery/LayoutSlug.js index 2d5dbc61..451b4b66 100644 --- a/themes/matery/LayoutSlug.js +++ b/themes/matery/LayoutSlug.js @@ -51,7 +51,6 @@ export const LayoutSlug = props => { {lock && } {!lock &&
- {/*
diff --git a/themes/matery/components/ArticleInfo.js b/themes/matery/components/ArticleInfo.js index f2c72b9c..fd21e660 100644 --- a/themes/matery/components/ArticleInfo.js +++ b/themes/matery/components/ArticleInfo.js @@ -10,7 +10,7 @@ export const ArticleInfo = (props) => { const { locale } = useGlobal() const date = formatDate(post?.date?.start_date || post?.createdTime, locale.LOCALE) - return
+ return
{post.tagItems && (
diff --git a/themes/matery/components/SideBar.js b/themes/matery/components/SideBar.js index 722b35b6..3f529729 100644 --- a/themes/matery/components/SideBar.js +++ b/themes/matery/components/SideBar.js @@ -40,8 +40,9 @@ const SideBar = (props) => { if (link && link.show) { const selected = (router.pathname === link.to) || (router.asPath === link.to) return - +
{link.name}