Skip to content

Commit

Permalink
fix authors (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
hazemahmedx0 committed Jan 9, 2024
1 parent 1166219 commit 0f2681f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ const Post = (publication: PublicationFragment, post: PostFullFragment) => {
coverImage={post.coverImage?.url}
date={post.publishedAt}
author={post.author}
readTimeInMinutes={post.readTimeInMinutes}
/>
{post.features.tableOfContents.isEnabled && <PostTOC />}
<MarkdownToHtml contentMarkdown={post.content.markdown} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export default function Post({ publication, post }: Props) {
coverImage={post.coverImage?.url}
date={post.publishedAt}
author={post.author}
readTimeInMinutes={post.readTimeInMinutes}
/>
<MarkdownToHtml contentMarkdown={post.content.markdown} />
<div className="mx-auto w-full px-5 text-slate-600 dark:text-neutral-300 md:max-w-screen-md">
Expand Down

0 comments on commit 0f2681f

Please sign in to comment.