Hugo is the static website generator I use for this blog. It supports a draft: true front matter variable, but when it is used, hugo can only completely ignore the page, or generate it, show it in the post list and RSS feed, and basically handle it like a normal page with the -D flag.

A great in-between is to be able to generate the page without publishing it. That way, the page can be sent to reviewers using its link, but won’t appear to people visiting the website or subscribed to the feeds.

This can be achieved with the build options, in the front matter variables. Instead of writing draft: true, the following can be set for your new work-in-progress article:

  render: always
  list: never

The website can be generated without the -D flag, as this WIP article is not considered a draft.