mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-23 22:17:00 +02:00
fix(content-blog): Fix blog feeds not generated (#5835)
This commit is contained in:
parent
44b87c7db8
commit
c2009ab6b7
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ export default function pluginContentBlog(
|
||||||
// TODO: we shouldn't need to re-read the posts here!
|
// TODO: we shouldn't need to re-read the posts here!
|
||||||
// postBuild should receive loadedContent
|
// postBuild should receive loadedContent
|
||||||
const blogPosts = await generateBlogPosts(contentPaths, context, options);
|
const blogPosts = await generateBlogPosts(contentPaths, context, options);
|
||||||
if (blogPosts.length) {
|
if (!blogPosts.length) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
await createBlogFeedFiles({
|
await createBlogFeedFiles({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue