commands: Add helpful instuctions after "hugo new site"

Fixes #1164
This commit is contained in:
digitalcraftsman 2016-04-03 01:24:56 +02:00
parent 1c3c148b38
commit d3e829508b

View file

@ -150,7 +150,15 @@ func doNewSite(basepath string, force bool) error {
createConfig(basepath, configFormat) createConfig(basepath, configFormat)
jww.FEEDBACK.Printf("Congratulations! Your new Hugo site is created in %q.\n", basepath) jww.FEEDBACK.Printf("Congratulations! Your new Hugo site is created in %q.\n\n", basepath)
jww.FEEDBACK.Println(`Just a few more steps and you're ready to go:
1. Download a theme into the same-named folder. Choose a theme from https://themes.gohugo.io or
create your own with the "hugo new theme <THEMENAME>" command
2. Perhaps you want to add some content. You can add single files with "hugo new <SECTIONNAME>/<FILENAME>.<FORMAT>"
3. Start the built-in live server via "hugo server"
For more information read the documentation at https://gohugo.io.`)
return nil return nil
} }