With this theme, anyway.

Mostly for personal reference since it varies by theme.

To make and view a draft post:

$ cd hugo
$ hugo new content posts/how-to-make-a-hugo-post.md
$ nano content/posts/how-to-make-a-hugo-post.md
$ hugo --buildDrafts

The post file context is just normal markdown. If you can write a github README you can write a post.

To make it a non-draft post, set draft: false in the header.

You can change the title in the header as well.

Once it’s ready for prime time, rebuild without drafts to hide all your drafts again.

Not that this doesn’t delete the draft posts, it just hides them from your post index

$ hugo