commands: Add help text to "hugo new" - hugo - [fork] hugo port for 9front
(HTM) git clone git@git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6b21ac3e67cb101255e8c3d9dbf076391a9eed8d
(DIR) parent d14420539ac04d31dde2252eee66d7e4c7749780
(HTM) Author: Elliot Forbes <emforce@live.com>
Date: Mon, 15 Oct 2018 16:48:19 +0100
commands: Add help text to "hugo new"
Diffstat:
M commands/new.go | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/commands/new.go b/commands/new.go
@@ -47,7 +47,9 @@ It will guess which kind of file to create based on the path provided.
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,
})