diff --git a/next.config.js b/next.config.js
index f2a86bc5..fb92a754 100644
--- a/next.config.js
+++ b/next.config.js
@@ -3,9 +3,6 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
})
module.exports = withBundleAnalyzer({
- future: {
- webpack5: true
- },
images: {
// 图片压缩
formats: ['image/avif', 'image/webp'],
diff --git a/pages/[...slug].js b/pages/[...slug].js
index 3013696d..e5607ed7 100644
--- a/pages/[...slug].js
+++ b/pages/[...slug].js
@@ -50,7 +50,7 @@ const Slug = props => {
}
}
}, 20 * 1000)
- const meta = { title: `${props?.siteInfo?.title || BLOG.TITLE} | loading`, image: siteInfo?.pageCover }
+ const meta = { title: `${props?.siteInfo?.title || BLOG.TITLE} | loading`, image: siteInfo?.pageCover || BLOG.HOME_BANNER_IMAGE }
return
}
diff --git a/themes/fukasawa/LayoutCategoryIndex.js b/themes/fukasawa/LayoutCategoryIndex.js
index 770a4730..e44e86dc 100644
--- a/themes/fukasawa/LayoutCategoryIndex.js
+++ b/themes/fukasawa/LayoutCategoryIndex.js
@@ -24,10 +24,10 @@ export const LayoutCategoryIndex = (props) => {
{category.name}({category.count})
- );
+ )
})}
- );
+ )
}
diff --git a/themes/fukasawa/components/BlogPostArchive.js b/themes/fukasawa/components/BlogPostArchive.js
index 5d4fdfa9..c594d7d1 100644
--- a/themes/fukasawa/components/BlogPostArchive.js
+++ b/themes/fukasawa/components/BlogPostArchive.js
@@ -42,7 +42,7 @@ const BlogArchiveItem = ({ posts = [], archiveTitle }) => {
))}
- );
+ )
}
}
diff --git a/themes/matery/LayoutCategoryIndex.js b/themes/matery/LayoutCategoryIndex.js
index 8543c8b6..ab98d3a4 100644
--- a/themes/matery/LayoutCategoryIndex.js
+++ b/themes/matery/LayoutCategoryIndex.js
@@ -21,12 +21,12 @@ export const LayoutCategoryIndex = props => {
{e.name}({e.count})
- );
+ )
})}
- );
+ )
}