mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-21 20:30:39 +00:00
docs: explain buildDrafts
flag in getting started guide (#786)
This commit is contained in:
parent
392fa73eba
commit
f5ea5f0ef6
@ -80,6 +80,8 @@ To prepare your new site environment just a few steps are required:
|
||||
hugo server -D
|
||||
```
|
||||
|
||||
The `-D` or `--buildDrafts` option is used to include content marked as draft during the build. It is used because content pages created with the `hugo new content` command have the `draft` flag set by default and this can lead to build errors in newly created projects. For projects with a production-ready content structure, this flag is not required in most cases and can be omitted.
|
||||
|
||||
### Option 1: Download pre-build release bundle
|
||||
|
||||
Download and extract the latest release bundle into the theme directory.
|
||||
|
Loading…
Reference in New Issue
Block a user