Enhancement: Automatically mark post in a folder as drafts
See original GitHub issueIs your feature request related to a problem? Please describe.
In Jekyll, there is a folder you can make called _drafts
which automatically tells Jekyll that these posts should not
be processed without setting the drafts argument. In Front Matter, it does not automatically make posts in _drafts
as drafts, you have to set draft: true
in the front matter which is redundant.
Describe the solution you’d like
In the configuration file, either add a drafts folder configuration or in frontMatter.content.pageFolders
have a
setting called draft
or something equivalent.
Additional context The second solution presented here:
...
"frontMatter.content.pageFolders": [
/* Directory of all of the draft/unpublished posts*/
{
"title": "drafts",
"path": "[[workspace]]/_drafts",
"drafts": true
},
/* Directory of all of the published post */
{
"title": "_posts",
"path": "[[workspace]]/_posts"
}
],
...
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Automatically mark all messages as read in Drafts folder
The problem here of course is, that one cannot run filters automatically after one sends an email but after one receives an email....
Read more >Outlook 2016 will not save drafts - TechNet - Microsoft
I noticed this problem back in 2016 but was too busy to report this. When I create emails and save them they don't...
Read more >Message Draft - Canvas Community
2) A Drafts folder (a la Outlook) for partially complete CANVAS messages to reside until they are either finished & sent OR deleted...
Read more >Multiple (iterations) copies of draft messages are saved in the ...
Expected Results: Only one copy of the draft message at all times, and once it's been sent it's expunged.
Read more >Folders in Drafts - ThoughtAsylum
In this post I'm going to explain a little about these folders and what they actually contain in regards to your Drafts.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes.
and you can still use the draft field to publish/unpublish content in Jekyll.(Correction: the draft field does not work in the _posts folder) Here is a link on as on how it handles drafts. https://jekyllrb.com/docs/posts/#draftsWill be released in v7.3.0