aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBrian Knight <[email protected]>2023-06-21 14:38:54 -0400
committerGitHub <[email protected]>2023-06-21 20:38:54 +0200
commit49336bfc58f088ced757696f63c4abf0e105ab9d (patch)
tree29f29b2151957d52e001ea5d34c8f302c24f2b1e
parent941818295d10a00ef557bce30ee9df86affc9f0f (diff)
downloadhugo-49336bfc58f088ced757696f63c4abf0e105ab9d.tar.gz
hugo-49336bfc58f088ced757696f63c4abf0e105ab9d.zip
commands: Update Jekyll post-import output
Update CLI output after a successful Jekyll import to suggest a maintained theme and include clearer steps to running a server locally. Fixes #10715 Co-authored-by: Joe Mooring <[email protected]>
-rw-r--r--commands/import.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/commands/import.go b/commands/import.go
index f2c56a9a1..1d37c217d 100644
--- a/commands/import.go
+++ b/commands/import.go
@@ -468,9 +468,12 @@ func (c *importCommand) importFromJekyll(args []string) error {
}
c.r.Println("Congratulations!", fileCount, "post(s) imported!")
- c.r.Println("Now, start Hugo by yourself:\n" +
- "$ git clone https://github.com/spf13/herring-cove.git " + args[1] + "/themes/herring-cove")
- c.r.Println("$ cd " + args[1] + "\n$ hugo server --theme=herring-cove")
+ c.r.Println("Now, start Hugo by yourself:\n")
+ c.r.Println("cd " + args[1])
+ c.r.Println("git init")
+ c.r.Println("git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke themes/ananke")
+ c.r.Println("echo \"theme = 'ananke'\" > hugo.toml")
+ c.r.Println("hugo server")
return nil
}