diff --git a/pages/src/components/Card.tsx b/pages/src/components/Card.tsx index 1982e36..99f6d2f 100644 --- a/pages/src/components/Card.tsx +++ b/pages/src/components/Card.tsx @@ -82,7 +82,9 @@ export default function Card({ id, href, frontmatter, secHeading = true, body, p ) )} -

{parseDate(published_date.toString())}

+ { + publishCard &&

{parseDate(published_date.toString())}

+ } { status === 'collected' &&
{body && body.split(/\s/g).length} 词 @@ -103,7 +105,9 @@ export default function Card({ id, href, frontmatter, secHeading = true, body, p
} -
+ { + publishCard &&
+ } ); }