import Link from 'next/link' import TagItemMini from './TagItemMini' import BLOG from '@/blog.config' /** * 博客列表的文字内容 * @param {*} param0 * @returns */ export const BlogPostCardInfo = ({ post, showPreview, showPageCover, showSummary }) => { return
{/* 分类 */} {post?.category &&
{post.category}
} {/* 标题 */} {post.title} {/* 摘要 */} {(!showPreview || showSummary) && !post.results && (

{post.summary}

)} {/* 搜索结果 */} {post.results && (

{post.results.map(r => ( {r} ))}

)}
{' '} {post.tagItems?.map(tag => ( ))}
}