hugo-undraft(1)

hugo-undraft1

Undraft changes the content's draft status from 'true' to 'false'

Usage

hugo undraft path/to/content

Overview

Undraft changes the content's draft status from 'True' to 'False' and updates the date to the current date and time. If the content's draft status is 'False', nothing is done.

Options inherited from parent commands

--config=""
config file (default is path/config.yaml|json|toml)

--log[=false]
Enable Logging

--logFile=""
Log File path (if set, logging enabled automatically)

--quiet[=false]
build in quiet mode

-v, --verbose[=false]
verbose output

--verboseLog[=false]
verbose logging

From hugo 0.18.1-1+b2 in Debian 9 (Stretch). Parsed by carta from the page's man source.