diff --git a/themes/heo/components/BlogPostCard.js b/themes/heo/components/BlogPostCard.js index 142a54fc..cc7598a9 100644 --- a/themes/heo/components/BlogPostCard.js +++ b/themes/heo/components/BlogPostCard.js @@ -12,11 +12,11 @@ const BlogPostCard = ({ index, post, showSummary, siteInfo }) => { const showPageCover = CONFIG.POST_LIST_COVER && post?.pageCoverThumbnail && !showPreview return (
- {post.summary} -
- )} + {/* 摘要 */} + {(!showPreview || showSummary) && !post.results && ( ++ {post.summary} +
+ )} - {/* 搜索结果 */} - {post.results && ( -- {post.results.map(r => ( - {r} - ))} -
- )} + {/* 搜索结果 */} + {post.results && ( ++ {post.results.map(r => ( + {r} + ))} +
+ )} -