From a8d4ae31e46645d949e3fc3d0b0a8758f7a3bf4d Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sat, 10 Dec 2022 15:25:52 +0800 Subject: [PATCH] =?UTF-8?q?next=E4=B8=BB=E9=A2=98=E4=BE=A7=E8=BE=B9?= =?UTF-8?q?=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/fukasawa/config_fuka.js | 1 - themes/medium/config_medium.js | 1 - themes/next/components/MenuButtonGroup.js | 3 +-- themes/next/config_next.js | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/themes/fukasawa/config_fuka.js b/themes/fukasawa/config_fuka.js index 777ecf18..a10fe869 100644 --- a/themes/fukasawa/config_fuka.js +++ b/themes/fukasawa/config_fuka.js @@ -4,7 +4,6 @@ const FUKA_CONFIG = { POST_LIST_PREVIEW: false, // 显示文章预览 // 菜单 - MENU_ABOUT: true, // 显示关于 MENU_CATEGORY: true, // 显示分类 MENU_TAG: true, // 显示标签 MENU_ARCHIVE: true, // 显示归档 diff --git a/themes/medium/config_medium.js b/themes/medium/config_medium.js index 23d6ac52..66fbc948 100644 --- a/themes/medium/config_medium.js +++ b/themes/medium/config_medium.js @@ -9,7 +9,6 @@ const CONFIG_MEDIUM = { POST_DETAIL_TAG: true, // 文章显示标签 // 菜单 - MENU_ABOUT: true, // 显示关于 MENU_CATEGORY: true, // 显示分类 MENU_TAG: true, // 显示标签 MENU_ARCHIVE: true, // 显示归档 diff --git a/themes/next/components/MenuButtonGroup.js b/themes/next/components/MenuButtonGroup.js index b6930e5f..0afb83be 100644 --- a/themes/next/components/MenuButtonGroup.js +++ b/themes/next/components/MenuButtonGroup.js @@ -14,8 +14,7 @@ const MenuButtonGroup = (props) => { { icon: 'fas fa-home', name: locale.NAV.INDEX, to: '/' || '/', show: true }, { icon: 'fas fa-th', name: locale.COMMON.CATEGORY, to: '/category', show: CONFIG_NEXT.MENU_CATEGORY }, { icon: 'fas fa-tag', name: locale.COMMON.TAGS, to: '/tag', show: CONFIG_NEXT.MENU_TAG }, - { icon: 'fas fa-archive', name: locale.NAV.ARCHIVE, to: '/archive', slot: archiveSlot, show: CONFIG_NEXT.MENU_ARCHIVE }, - { icon: 'fas fa-user', name: locale.NAV.ABOUT, to: '/about', show: CONFIG_NEXT.MENU_ABOUT } + { icon: 'fas fa-archive', name: locale.NAV.ARCHIVE, to: '/archive', slot: archiveSlot, show: CONFIG_NEXT.MENU_ARCHIVE } ] let links = [].concat(defaultLinks) if (customNav) { diff --git a/themes/next/config_next.js b/themes/next/config_next.js index 37839b08..1368d436 100644 --- a/themes/next/config_next.js +++ b/themes/next/config_next.js @@ -23,7 +23,6 @@ const CONFIG_NEXT = { MENU_CATEGORY: true, // 显示分类 MENU_TAG: true, // 显示标签 MENU_ARCHIVE: true, // 显示归档 - MENU_ABOUT: false, // 显示关于 MENU_SEARCH: true, // 显示搜索 WIDGET_TO_TOP: true, // 是否显示回顶