From 32d0a5b7a5cce8a919401f68645d35835a3021c2 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Thu, 23 Mar 2023 08:34:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=BA=9B=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/_document.js | 14 +------------- themes/hexo/components/HeaderArticle.js | 2 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/pages/_document.js b/pages/_document.js index 164a4fe2..964ef588 100644 --- a/pages/_document.js +++ b/pages/_document.js @@ -15,11 +15,9 @@ class MyDocument extends Document { - {console.log(this.renderCSS())} - {this.renderCSS()}
@@ -27,16 +25,6 @@ class MyDocument extends Document { ) } - - renderCSS() { - if (BLOG.CSS_LIST && BLOG.CSS_LIST.length > 0) { - return BLOG.CSS_LIST.map((item, index) => { - return ( - - ) - }) - } - } } export default MyDocument diff --git a/themes/hexo/components/HeaderArticle.js b/themes/hexo/components/HeaderArticle.js index 3256f5d0..f856767b 100644 --- a/themes/hexo/components/HeaderArticle.js +++ b/themes/hexo/components/HeaderArticle.js @@ -19,7 +19,7 @@ export default function HeaderArticle({ post, siteInfo }) { return (