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 ( -