Is there a standard recipe for saving static backups of my Ghost posts? Ie a folder that I can unzip and view on my laptop without needing to install Ghost
Hey!
You can export your posts as a JSON file from Ghost Admin, as outlined here:
I use the Generic Static Site Generator. Itβs a node cli tool. : GitHub - theabbie/Generic-Static-Site-Generator: A Generic Static Site Generator
The docs are little light but it does a good job. Here is the general syntax I use.
gssg --domain https://${CMS_HOSTNAME} --url https://${WEB_HOSTNAME} --dest $WEB_DIR
1 Like