Fix date and read time on Blog Posts
This commit is contained in:
@@ -19,7 +19,7 @@ interface PostProps {
|
||||
|
||||
export function Post({ children, meta }: PostProps) {
|
||||
const { previousPost, nextPost } = meta;
|
||||
|
||||
|
||||
return (
|
||||
<main>
|
||||
<article className="blog-post">
|
||||
@@ -47,7 +47,7 @@ export function Post({ children, meta }: PostProps) {
|
||||
{meta.readingTime &&
|
||||
<>
|
||||
<span className="meta-separator">•</span>
|
||||
<span>{meta.readingTime}</span>
|
||||
<span>{meta.readingTime} min read</span>
|
||||
</>
|
||||
}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user