Hugo import from jekyll

usage: hugo import jekyll jekyll_root_path target_path

Implemented:
 * Create new hugo site
 * Create config.yaml
 * Convert all markdown contents.
 * Copy all other files and folders to static

Fixes #101
This commit is contained in:
coderzh
2015-10-01 09:04:30 +08:00
committed by Bjørn Erik Pedersen
parent 08d41c3a48
commit 9a2f6c62a6
3 changed files with 588 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ func AddCommands() {
HugoCmd.AddCommand(undraftCmd)
HugoCmd.AddCommand(genautocompleteCmd)
HugoCmd.AddCommand(gendocCmd)
HugoCmd.AddCommand(importCmd)
}
//Initializes flags