diff --git a/src/pages/blogs/index.tsx b/src/pages/blogs/index.tsx index ad1e6ff6..c429b31d 100644 --- a/src/pages/blogs/index.tsx +++ b/src/pages/blogs/index.tsx @@ -341,7 +341,7 @@ const BlogCard = ({ blog }: { blog: (typeof blogs)[number] }) => { rel="noopener noreferrer" title={author.name} > - @{author.id || author.name.toLowerCase().replace(/\s+/g, "")} + {author.name} ))} diff --git a/src/theme/BlogPostItem/Header/index.tsx b/src/theme/BlogPostItem/Header/index.tsx index 6456384e..77dd5478 100644 --- a/src/theme/BlogPostItem/Header/index.tsx +++ b/src/theme/BlogPostItem/Header/index.tsx @@ -78,10 +78,10 @@ export default function BlogPostItemHeaderWrapper(props: Props): JSX.Element { const blogDate = metadata.date ? new Intl.DateTimeFormat(siteConfig.i18n?.defaultLocale || "en-US", { - year: "numeric", - month: "short", - day: "numeric", - }).format(new Date(metadata.date)) + year: "numeric", + month: "short", + day: "numeric", + }).format(new Date(metadata.date)) : undefined; const tags = (metadata.tags ?? []) @@ -121,10 +121,11 @@ export default function BlogPostItemHeaderWrapper(props: Props): JSX.Element { ))} {/* Handles after the stack (only authors with a handle) */} + {/* Full name after the stack */} {authors - .filter((author) => author.handle) + .filter((author) => author.name || author.handle) .map((author, idx) => ( - + {idx > 0 && ( ))}