Sometimes a page is drafted but it's not ready for release. Perhaps the article is in the process of being written, or perhaps it can't be published until a certain date. This shouldn't prevent authors from committing those files.
Add an ability for a file to mark itself as a "draft" and avoid being published in the website build.
Add a CLI option to build in draft mode so that the author can see a draft article before it's published.
Implement the draft mode using plugin controls. Add new controls if needed.
Sometimes a page is drafted but it's not ready for release. Perhaps the article is in the process of being written, or perhaps it can't be published until a certain date. This shouldn't prevent authors from committing those files.
Add an ability for a file to mark itself as a "draft" and avoid being published in the website build.
Add a CLI option to build in draft mode so that the author can see a draft article before it's published.
Implement the draft mode using plugin controls. Add new controls if needed.