Skip to content

Commit 0f2681f

Browse files
authored
fix authors (#8)
1 parent 1166219 commit 0f2681f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/blog-starter-kit/themes/enterprise/pages/[slug].tsx

+1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ const Post = (publication: PublicationFragment, post: PostFullFragment) => {
103103
coverImage={post.coverImage?.url}
104104
date={post.publishedAt}
105105
author={post.author}
106+
readTimeInMinutes={post.readTimeInMinutes}
106107
/>
107108
{post.features.tableOfContents.isEnabled && <PostTOC />}
108109
<MarkdownToHtml contentMarkdown={post.content.markdown} />

packages/blog-starter-kit/themes/enterprise/pages/preview/[id].tsx

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export default function Post({ publication, post }: Props) {
6060
coverImage={post.coverImage?.url}
6161
date={post.publishedAt}
6262
author={post.author}
63+
readTimeInMinutes={post.readTimeInMinutes}
6364
/>
6465
<MarkdownToHtml contentMarkdown={post.content.markdown} />
6566
<div className="mx-auto w-full px-5 text-slate-600 dark:text-neutral-300 md:max-w-screen-md">

0 commit comments

Comments
 (0)