shithub: hugo

Download patch

ref: d3e829508b0925c37fdd1548bdebc5fba4e4eb7e
parent: 1c3c148b38c1e66860d33fee0e2114ca4e004d05
author: digitalcraftsman <[email protected]>
date: Sat Apr 2 21:24:56 EDT 2016

commands: Add helpful instuctions after "hugo new site"

Fixes #1164

--- a/commands/new.go
+++ b/commands/new.go
@@ -150,7 +150,15 @@
 
 	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
 }