搜索效果微调

This commit is contained in:
tangly1024
2022-04-13 15:20:24 +08:00
parent 11ff500763
commit 15ef58a854
2 changed files with 2 additions and 4 deletions

View File

@@ -78,7 +78,7 @@ const BlogPostCard = ({ post, showSummary }) => {
</div>
</div>
{CONFIG_HEXO.POST_LIST_COVER && !showPreview && post?.page_cover && (
{CONFIG_HEXO.POST_LIST_COVER && !showPreview && post?.page_cover && !post.results && (
<Link href={`${BLOG.SUB_PATH}/article/${post.slug}`} passHref>
<div className="flex w-full relative duration-200 rounded-t-xl lg:rounded-r-xl lg:rounded-t-none cursor-pointer transform overflow-hidden">
{/* eslint-disable-next-line @next/next/no-img-element */}