Add Ghost content to Hugo
Mar 31, 2021
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
cdtostaticdirectory in your Hugo folder- run
- Update your hugo config to link to the above folder:
[[]]
= "posts"
= "Posts"
= "/posts"
All done! 🎉🎉🎉