From ac6378806a28d9f286364e79e79d0c6ec22c6ae7 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Thu, 17 Feb 2022 14:29:16 +0800 Subject: [PATCH 01/20] =?UTF-8?q?=E4=B8=BB=E5=88=86=E6=94=AF=E7=94=A8Next?= =?UTF-8?q?=E4=B8=BB=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/index.js b/themes/index.js index d17405e5..e9b63872 100644 --- a/themes/index.js +++ b/themes/index.js @@ -3,7 +3,7 @@ */ // export * from './Empty' // 空主题 -// export * from './NEXT' +export * from './NEXT' // export * from './Fukasawa' // export * from './Hexo' -export * from './Medium' +// export * from './Medium' From 4fd6745f8cbfda36fe48eb01b8ff1973ba443893 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Fri, 18 Feb 2022 11:24:22 +0800 Subject: [PATCH 02/20] =?UTF-8?q?Hexo=20=E4=B8=BB=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/index.js b/themes/index.js index e9b63872..5acc65dd 100644 --- a/themes/index.js +++ b/themes/index.js @@ -3,7 +3,7 @@ */ // export * from './Empty' // 空主题 -export * from './NEXT' +// export * from './NEXT' // export * from './Fukasawa' -// export * from './Hexo' +export * from './Hexo' // export * from './Medium' From 06fe130ba93edf55ec2a890bb4a727b8498d4f00 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sat, 19 Feb 2022 10:12:51 +0800 Subject: [PATCH 03/20] rss-BUG --- lib/rss.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/rss.js b/lib/rss.js index f02a5a0b..9400629f 100644 --- a/lib/rss.js +++ b/lib/rss.js @@ -4,14 +4,14 @@ import BLOG from '@/blog.config' export function generateRss (posts) { const year = new Date().getFullYear() const feed = new Feed({ - TITLE: BLOG.TITLE, - DESCRIPTION: BLOG.DESCRIPTION, + title: BLOG.TITLE, + description: BLOG.DESCRIPTION, id: `${BLOG.LINK}/${BLOG.PATH}`, - LINK: `${BLOG.LINK}/${BLOG.PATH}`, + link: `${BLOG.LINK}/${BLOG.PATH}`, language: BLOG.LANG, favicon: `${BLOG.LINK}/favicon.png`, copyright: `All rights reserved ${year}, ${BLOG.AUTHOR}`, - AUTHOR: { + author: { name: BLOG.AUTHOR, email: BLOG.CONTACT_EMAIL, link: BLOG.LINK From 294a20c6a8d6f012d408e9d53d3014b2b45423b2 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sun, 20 Feb 2022 11:46:42 +0800 Subject: [PATCH 04/20] =?UTF-8?q?=E9=A1=B6=E9=83=A8NavBar=E7=95=99?= =?UTF-8?q?=E7=99=BD=E6=A0=B7=E5=BC=8F=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/Hexo/LayoutBase.js | 4 ++-- themes/Hexo/components/TopNav.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/Hexo/LayoutBase.js b/themes/Hexo/LayoutBase.js index a3c49dcf..f1c9652e 100644 --- a/themes/Hexo/LayoutBase.js +++ b/themes/Hexo/LayoutBase.js @@ -44,9 +44,9 @@ const LayoutBase = (props) => { {headerSlot} -
+
-
+
{children}
diff --git a/themes/Hexo/components/TopNav.js b/themes/Hexo/components/TopNav.js index c09a2612..5e1f4a3b 100644 --- a/themes/Hexo/components/TopNav.js +++ b/themes/Hexo/components/TopNav.js @@ -92,8 +92,8 @@ const TopNav = ({ tags, currentTag, categories, currentCategory, postCount }) => {/* 导航栏 */} -