commands: Add helpful instuctions after "hugo new site" - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit d3e829508b0925c37fdd1548bdebc5fba4e4eb7e
DIR parent 1c3c148b38c1e66860d33fee0e2114ca4e004d05
HTML Author: digitalcraftsman <digitalcraftsman@protonmail.com>
Date: Sun, 3 Apr 2016 01:24:56 +0200
commands: Add helpful instuctions after "hugo new site"
Fixes #1164
Diffstat:
M commands/new.go | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
DIR diff --git 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
}