import Tags from './tag'; import { ArticleMeta } from '../pages/post/[id]'; export default function PostCard(props: { post: ArticleMeta; }) { return {props.post.cover && }

{props.post.title}

{props.post.subtitle} {props.post.tags?.length != 0 && }
; }