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

{post.title}

{/* 文章信息 */}
{BLOG.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
}