github.com/rabbouni145/gg@v0.47.1/docs/content/en/commands/hugo_new.md (about) 1 --- 2 date: 2018-08-17 3 title: "hugo new" 4 slug: hugo_new 5 url: /commands/hugo_new/ 6 --- 7 ## hugo new 8 9 Create new content for your site 10 11 ### Synopsis 12 13 Create a new content file and automatically set the date and title. 14 It will guess which kind of file to create based on the path provided. 15 16 You can also specify the kind with `-k KIND`. 17 18 If archetypes are provided in your theme or site, they will be used. 19 20 ``` 21 hugo new [path] [flags] 22 ``` 23 24 ### Options 25 26 ``` 27 --editor string edit new content with this editor, if provided 28 -h, --help help for new 29 -k, --kind string content type to create 30 -s, --source string filesystem path to read files relative from 31 ``` 32 33 ### Options inherited from parent commands 34 35 ``` 36 --config string config file (default is path/config.yaml|json|toml) 37 --debug debug output 38 --log enable Logging 39 --logFile string log File path (if set, logging enabled automatically) 40 --quiet build in quiet mode 41 -v, --verbose verbose output 42 --verboseLog verbose logging 43 ``` 44 45 ### SEE ALSO 46 47 * [hugo](/commands/hugo/) - hugo builds your site 48 * [hugo new site](/commands/hugo_new_site/) - Create a new site (skeleton) 49 * [hugo new theme](/commands/hugo_new_theme/) - Create a new theme 50 51 ###### Auto generated by spf13/cobra on 17-Aug-2018