diff --git a/themes/NEXT/components/MenuButtonGroup.js b/themes/NEXT/components/MenuButtonGroup.js index a8a730fb..8e6f700a 100644 --- a/themes/NEXT/components/MenuButtonGroup.js +++ b/themes/NEXT/components/MenuButtonGroup.js @@ -12,7 +12,7 @@ const MenuButtonGroup = ({ postCount }) => { const archiveSlot =
{postCount}
const links = [ - { id: 0, icon: faHome, name: locale.NAV.INDEX, to: '/' || '/', show: true }, + { id: 0, icon: faHome, name: locale.NAV.INDEX, to: '/' || '/', show: CONFIG_NEXT.MENU_HOME }, { id: 1, icon: faTh, name: locale.COMMON.CATEGORY, to: '/category', show: CONFIG_NEXT.MENU_CATEGORY }, { id: 2, icon: faTag, name: locale.COMMON.TAGS, to: '/tag', show: CONFIG_NEXT.MENU_TAG }, { id: 3, icon: faArchive, name: locale.NAV.ARCHIVE, to: '/archive', slot: archiveSlot, show: CONFIG_NEXT.MENU_ARCHIVE }, diff --git a/themes/NEXT/config_next.js b/themes/NEXT/config_next.js index 84f24d38..0b072eab 100644 --- a/themes/NEXT/config_next.js +++ b/themes/NEXT/config_next.js @@ -19,10 +19,11 @@ const CONFIG_NEXT = { RIGHT_AD: false, // 右侧广告 // 菜单 - MENU_ABOUT: false, // 显示关于 + MENU_HOME: true, // 显示首页 MENU_CATEGORY: true, // 显示分类 MENU_TAG: true, // 显示标签 MENU_ARCHIVE: true, // 显示归档 + MENU_ABOUT: false, // 显示关于 MENU_SEARCH: true, // 显示搜索 // 悬浮挂件