shithub: hugo

Download patch

ref: 6b21ac3e67cb101255e8c3d9dbf076391a9eed8d
parent: d14420539ac04d31dde2252eee66d7e4c7749780
author: Elliot Forbes <[email protected]>
date: Mon Oct 15 12:48:19 EDT 2018

commands: Add help text to "hugo new"


--- a/commands/new.go
+++ b/commands/new.go
@@ -47,7 +47,9 @@
 
 You can also specify the kind with ` + "`-k KIND`" + `.
 
-If archetypes are provided in your theme or site, they will be used.`,
+If archetypes are provided in your theme or site, they will be used.
+
+Ensure you run this within the root directory of your site.`,
 
 		RunE: cc.newContent,
 	})