diff --git a/themes/hexo/LayoutBase.js b/themes/hexo/LayoutBase.js index 1f9f458b..27c8e1a9 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, showTag } = props + const { children, headerSlot, floatSlot, meta, siteInfo } = props const [showFloatButton, switchShow] = useState(false) // const [percent, changePercent] = useState(0) // 页面阅读百分比 const rightAreaSlot = ( diff --git a/themes/hexo/components/ArticleRecommend.js b/themes/hexo/components/ArticleRecommend.js index 446dfb9c..16002347 100644 --- a/themes/hexo/components/ArticleRecommend.js +++ b/themes/hexo/components/ArticleRecommend.js @@ -47,16 +47,12 @@ export default function ArticleRecommend({ recommendPosts, siteInfo }) { style={{ backgroundImage: headerImage }} >
-
-
{post.title}
-
-
- {' '} - {post.tagItems.map(tag => ( -
{selected && } {tag.name + (tag.count ? `(${tag.count})` : '')}
- ))} -
+
+
+ + {post.date?.start_date}
+
{post.title}