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 (