import BLOG from '@/blog.config' import formatDate from '@/lib/formatDate' import Link from 'next/link' /** * 文章详情页介绍 * @param {*} props * @returns */ export default function ArticleInfo(props) { const { post, siteInfo } = props const date = formatDate(post?.publishTime || post?.createdTime) return (<> {/* title */}

{post?.title}

{/* meta */}
{date} | {post.lastEditedTime}
{/* eslint-disable-next-line @next/next/no-img-element */} {BLOG.AUTHOR}
{BLOG.AUTHOR}
) }