Add Ghost content to Hugo
2021-03-31
Ghost CMS is very easy to use, but the deployment overhead (maintaining db, ghost version, updates and etc) might be too much for some. Luckily, there's a way to convert a Ghost site to static pages, which you can later host on Github pages or something similar.
Setup
- static site engine: Hugo
- a Ghost instance
Usage
- Install https://github.com/Fried-Chicken/ghost-static-site-generator
cd
tostatic
directory in your Hugo folder- run
- Update your hugo config to link to the above folder:
[[]]
= "posts"
= "Posts"
= "/posts"
All done! 🎉🎉🎉