From c8c7769e9a183bdfb3c984d0771abcf5ded4bb9f Mon Sep 17 00:00:00 2001 From: Blackberry009 <765042894@qq.com> Date: Fri, 13 Jun 2025 18:23:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=91=E6=9A=97=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/dev.config.js | 2 +- themes/typography/components/BlogItem.js | 7 ++----- themes/typography/components/BlogListPage.js | 2 +- themes/typography/components/Footer.js | 10 +--------- themes/typography/components/MenuItemDrop.js | 2 +- themes/typography/components/NavBar.js | 12 ++++++------ themes/typography/index.js | 2 +- themes/typography/style.js | 11 ++++++++++- 8 files changed, 23 insertions(+), 25 deletions(-) diff --git a/conf/dev.config.js b/conf/dev.config.js index c34a8c64..ea324f96 100644 --- a/conf/dev.config.js +++ b/conf/dev.config.js @@ -19,7 +19,7 @@ module.exports = { BUNDLE_ANALYZER: process.env.ANALYZE === 'true' || false, // 是否展示编译依赖内容与大小 VERSION: (() => { try { - // 优先使用环境变量,否则从package.json中获取版本号 + // 优先使用环境变量,否则从 package.json 中获取版本号 return ( process.env.NEXT_PUBLIC_VERSION || require('../package.json').version ) diff --git a/themes/typography/components/BlogItem.js b/themes/typography/components/BlogItem.js index 195f9be2..4ce78a9a 100644 --- a/themes/typography/components/BlogItem.js +++ b/themes/typography/components/BlogItem.js @@ -15,9 +15,7 @@ export const BlogItem = props => { const showPreview = siteConfig('POST_LIST_PREVIEW', false, NOTION_CONFIG) && post.blockMap return ( -