Set a new posts in Hugo to draft
I put all the posts by default draft mode. This is done by having an archtype[0] document. This is the documenation of it, because it is not an option with the configuration file it seems worth the effort.
It looke like this now:
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
categories: []
tags: []
draft: true
---
When hugo should render them in the server mode you can use -D
or --buildDrafts
to do so.
so far,
akendo