mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-30 01:23:34 -05:00
source: Remove unnecessary else condition
This commit is contained in:
parent
b1b7ac7e75
commit
c54df37f6a
1 changed files with 4 additions and 5 deletions
|
@ -128,12 +128,11 @@ func importFromJekyll(cmd *cobra.Command, args []string) error {
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
} else {
|
}
|
||||||
fmt.Println("Congratulations!", fileCount, "post(s) imported!")
|
fmt.Println("Congratulations!", fileCount, "post(s) imported!")
|
||||||
fmt.Println("Now, start Hugo by yourself:\n" +
|
fmt.Println("Now, start Hugo by yourself:\n" +
|
||||||
"$ git clone https://github.com/spf13/herring-cove.git " + args[1] + "/themes/herring-cove")
|
"$ git clone https://github.com/spf13/herring-cove.git " + args[1] + "/themes/herring-cove")
|
||||||
fmt.Println("$ cd " + args[1] + "\n$ hugo server --theme=herring-cove")
|
fmt.Println("$ cd " + args[1] + "\n$ hugo server --theme=herring-cove")
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue