table of contents
HUGO-NEW(1) | Hugo Manual | HUGO-NEW(1) |
NAME¶
hugo-new - Create new content for your siteSYNOPSIS¶
hugo new [path]DESCRIPTION¶
Create a new content file and automatically set the date and title. It will guess which kind of file to create based on the path provided.You can also specify the kind with -k KIND.
If archetypes are provided in your theme or site, they will be used.
OPTIONS¶
--editor="" edit new content with this editor, if provided-f, --format="toml" frontmatter format
-k, --kind="" Content type to create
-s, --source="" filesystem path to read files relative from
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
SEE ALSO¶
hugo(1), hugo-new-site(1), hugo-new-theme(1)Apr 2017 | Hugo 0.18.1 |