import BLOG from '@/blog.config' import CONFIG_EXAMPLE from '../config_example' import Link from 'next/link' import TwikooCommentCount from '@/components/TwikooCommentCount' const BlogPostCard = ({ post }) => { const showPageCover = CONFIG_EXAMPLE.POST_LIST_COVER return

{post?.title}

by {BLOG.AUTHOR} on {post.date?.start_date || post.createdTime} | {post.category} {/* | */} {/* 2 Comments */}
{!post.results &&

{post.summary}

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

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

)}
{/* 图片封面 */} {showPageCover && (
)}
} export default BlogPostCard