1 min read

Creating a ghost theme

I wanted to customize the default casper theme for a blog. Specifically speaking, I wanted to remove the floating subscribe button; as it created a nuisance on mobile.

1. install ghost locally

ghost install local

2. Download the theme

Best to download the theme running on the remote machine, or you can clone from a repository.
Best to store the theme in a separate directory from your local ghost installation, and then use symlink to create a link to the theme.
ln -s /Users/myuser/ghost\ themes/casper ./content/themes

3. Run ghost in debug mode

ghost run -D

4. Remove floating subscribe button

This can be done from ghost admin > portal settings

5. Enable live-reload of the theme

This would allow changes to be built to the assets/built folder as you work, so you can see changes live.
npm run dev