A python script helps migrating your hugo post to ghost with support of to add your old post tags and post feature images.
Supports
- Adds hugo tags to ghost
- Hugo subtitle to Meta Description in Ghost
- Preserve Dates
- Adds Feature Images
Python3 hugo_to_ghost.py input_dir output.json
Outputs a "output.json" file and a "images" directory which is having all the feature images.
After you have generated the file, go to your ghost admin setting, Advanced->Import/Export->Universal Import and choose your generated .json file. After that, copy the entire images folder to your Ghost installation path /content/
- Add Image resize support for feature Images.
- Add support to remove more custom shortcodes.
- Add support to migrate all images.
- Add Test Cases.