import Link from 'next/link' import { useGlobal } from '@/lib/global' import { formatDateFmt } from '@/lib/formatDate' export const ArticleInfo = (props) => { const { post } = props const { locale } = useGlobal() return (
{post?.type !== 'Page' && <> {post?.category} | } {post?.type !== 'Page' && (<> {post?.publishDay} | {locale.COMMON.LAST_EDITED_TIME}: {post?.lastEditedDay} |   )}
) }