import Link from 'next/link' import CONFIG from '../config' import TwikooCommentCount from '@/components/TwikooCommentCount' import { formatDateFmt } from '@/lib/formatDate' import { siteConfig } from '@/lib/config' export const BlogItem = props => { const { post } = props return
{/* 文章标题 */}

{post.title}

{/* 文章信息 */}
{siteConfig('AUTHOR')} {post.date?.start_date || post.createdTime}
{post.category && {post.category}} {post?.tags && post?.tags?.length > 0 && post?.tags.map(t => /{t})}
{post.summary} {post.summary && ...}
Continue Reading
}