diff --git a/themes/hexo/LayoutBase.js b/themes/hexo/LayoutBase.js index 27c8e1a9..1f9f458b 100644 --- a/themes/hexo/LayoutBase.js +++ b/themes/hexo/LayoutBase.js @@ -33,7 +33,7 @@ const FacebookPage = dynamic( * @constructor */ const LayoutBase = props => { - const { children, headerSlot, floatSlot, meta, siteInfo } = props + const { children, headerSlot, floatSlot, meta, siteInfo, showTag } = props const [showFloatButton, switchShow] = useState(false) // const [percent, changePercent] = useState(0) // 页面阅读百分比 const rightAreaSlot = ( diff --git a/themes/hexo/components/Announcement.js b/themes/hexo/components/Announcement.js index 02270982..695c26a4 100644 --- a/themes/hexo/components/Announcement.js +++ b/themes/hexo/components/Announcement.js @@ -7,10 +7,10 @@ const Announcement = ({ post, className }) => { const { locale } = useGlobal() if (post?.blockMap) { return