Skip to content

Commit

Permalink
fix(content-blog): Fix blog feeds not generated (#5835)
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Nov 2, 2021
1 parent 44b87c7 commit c2009ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-content-blog/src/index.ts
Expand Up @@ -519,7 +519,7 @@ export default function pluginContentBlog(
// TODO: we shouldn't need to re-read the posts here!
// postBuild should receive loadedContent
const blogPosts = await generateBlogPosts(contentPaths, context, options);
if (blogPosts.length) {
if (!blogPosts.length) {
return;
}
await createBlogFeedFiles({
Expand Down

0 comments on commit c2009ab

Please sign in to comment.