diff --git a/src/pages/blog/all.html.js b/src/pages/blog/all.html.js index e0ccab69..4f6a6cf9 100644 --- a/src/pages/blog/all.html.js +++ b/src/pages/blog/all.html.js @@ -76,18 +76,22 @@ const AllBlogPosts = ({data}: Props) => ( {node.fields.date} -
- by{' '} - {toCommaSeparatedList(node.frontmatter.author, author => ( - - {author.frontmatter.name} - - ))} -
+ {node.frontmatter.author ? ( +
+ by{' '} + {toCommaSeparatedList(node.frontmatter.author, author => ( + + {author.frontmatter.name} + + ))} +
+ ) : ( +
+ )} ))}