diff --git a/themes/hexo/components/BlogPostCard.js b/themes/hexo/components/BlogPostCard.js
index fd258d37..b681d079 100644
--- a/themes/hexo/components/BlogPostCard.js
+++ b/themes/hexo/components/BlogPostCard.js
@@ -10,9 +10,10 @@ const BlogPostCard = ({ index, post, showSummary, siteInfo }) => {
if (post && !post.page_cover && CONFIG_HEXO.POST_LIST_COVER_DEFAULT) {
post.page_cover = siteInfo?.pageCover
}
- const showPageCover = CONFIG_HEXO.POST_LIST_COVER && post?.page_cover
+ const showPageCover = CONFIG_HEXO.POST_LIST_COVER && post?.page_cover && !showPreview
const delay = (index % 2) * 200
+ console.log(showPageCover)
return (
{
data-aos-anchor-placement="top-bottom"
id='blog-post-card'
key={post.id}
- className={`h-56 w-full flex justify-between md:flex-row flex-col-reverse ${CONFIG_HEXO.POST_LIST_IMG_CROSSOVER && index % 2 === 1 ? 'md:flex-row-reverse' : ''}
+ className={`md:h-56 w-full flex justify-between md:flex-row flex-col-reverse ${CONFIG_HEXO.POST_LIST_IMG_CROSSOVER && index % 2 === 1 ? 'md:flex-row-reverse' : ''}
overflow-hidden border dark:border-black rounded-xl bg-white dark:bg-hexo-black-gray`}>
{/* 文字内容 */}
{/* 图片封面 */}
- {showPageCover && !showPreview && post?.page_cover && (
-
+ {showPageCover && (
+
)}
diff --git a/themes/hexo/config_hexo.js b/themes/hexo/config_hexo.js
index 3cba78cc..ded4489f 100644
--- a/themes/hexo/config_hexo.js
+++ b/themes/hexo/config_hexo.js
@@ -17,7 +17,7 @@ const CONFIG_HEXO = {
POST_LIST_COVER_DEFAULT: true, // 封面为空时用站点背景做默认封面
POST_LIST_SUMMARY: true, // 文章摘要
- POST_LIST_PREVIEW: true, // 读取文章预览
+ POST_LIST_PREVIEW: false, // 读取文章预览
POST_LIST_IMG_CROSSOVER: true, // 博客列表图片左右交错
ARTICLE_ADJACENT: true, // 显示上一篇下一篇文章推荐