Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: the blog drafts leaded when building #5

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

vincent97277
Copy link
Contributor

Based on your current design, articles tagged with draft will still be generated in all environments and can be accessed.
They might even appear in the sitemap and rss.xml.

I've fixed this issue :)

Copy link

vercel bot commented Apr 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
astro-yi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2024 11:29am

@vincent97277
Copy link
Contributor Author

In the new design, draft articles can be seen when using pnpm dev. However, no draft content will be generated when using pnpm build.

@cirry cirry merged commit 9581e2a into cirry:main Apr 2, 2024
2 checks passed
@vincent97277 vincent97277 deleted the fix/draft_blog_leak branch April 14, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants