-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add "draft" variable to front-matter to control if article is a draft like hugo #5122
Comments
If you really need this feature ASAP, you can customize the |
Just curious. Is there any reason that you don't want to use the draft folders? |
@SukkaW My guess is that sometimes people (like me) organize published posts in separated folders under |
Yes, you are right. This is indeed my scene. I need to write and organize a series of articles in seperated folders under |
@suncle1993 @WangNianyi2001 You can set |
I will try this magic feature. Thank you. |
If you confirm that this feature meets your expectations, I will update the documentation. |
after add |
Check List
Please check followings before submitting a new feature request.
Feature Request
an example front-matter:
if draft is true, this article will not be rendered, just like article file in _draft directory
Others
The text was updated successfully, but these errors were encountered: