From: digitalcraftsman <digitalcraftsman@protonmail.com> Date: Sat, 2 Apr 2016 23:24:56 +0000 (+0200) Subject: commands: Add helpful instuctions after "hugo new site" X-Git-Tag: v0.16~105 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d3e829508b0925c37fdd1548bdebc5fba4e4eb7e;p=brevno-suite%2Fhugo commands: Add helpful instuctions after "hugo new site" Fixes #1164 --- diff --git a/commands/new.go b/commands/new.go index c3f04f47..fe4ed75e 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 }