diff --git a/themes/hexo/components/HeaderArticle.js b/themes/hexo/components/HeaderArticle.js index f856767b..2abfc9b7 100644 --- a/themes/hexo/components/HeaderArticle.js +++ b/themes/hexo/components/HeaderArticle.js @@ -22,7 +22,13 @@ export default function HeaderArticle({ post, siteInfo }) { className="w-full h-96 relative md:flex-shrink-0 overflow-hidden bg-cover bg-center bg-no-repeat animate__animated animate__fadeIn z-10" style={{ backgroundImage: headerImage }} > -
+
+
{/* 文章Title */}
diff --git a/themes/next/components/ArticleDetail.js b/themes/next/components/ArticleDetail.js index 17bfbe37..e5b8dba2 100644 --- a/themes/next/components/ArticleDetail.js +++ b/themes/next/components/ArticleDetail.js @@ -26,18 +26,17 @@ export default function ArticleDetail(props) { const date = formatDate(post?.date?.start_date || post?.createdTime, locale.LOCALE) return ( -
- {showArticleInfo &&
+ {showArticleInfo &&
{/* 头图 */} {CONFIG_NEXT.POST_HEADER_IMAGE_VISIBLE && post?.type && !post?.type !== 'Page' && post?.page_cover && (