diff options
author | digitalcraftsman <digitalcraftsman@protonmail.com> | 2016-04-03 01:24:56 +0200 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@protonmail.com> | 2016-04-08 18:03:49 +0200 |
commit | d3e829508b0925c37fdd1548bdebc5fba4e4eb7e (patch) | |
tree | 36cdf782c40481861249d07f8dc6dd330ceac3c1 /commands/new.go | |
parent | 1c3c148b38c1e66860d33fee0e2114ca4e004d05 (diff) |
commands: Add helpful instuctions after "hugo new site"
Fixes #1164
Diffstat (limited to 'commands/new.go')
-rw-r--r-- | commands/new.go | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/commands/new.go b/commands/new.go index c3f04f471..fe4ed75e1 100644 --- a/commands/new.go +++ b/commands/new.go @@ -150,7 +150,15 @@ func doNewSite(basepath string, force bool) error { 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 } |