Skip to content

A starter template for creating a custom Ghost theme

Notifications You must be signed in to change notification settings

hleinan/ghost-theme

 
 

Repository files navigation

Ghost Starter Theme

  • To get started, click Use this template and clone the repo
  • CD into the directory
npm install
  • Make a symlink from the theme directory to your local install of Ghost's themes folder
# /content/themes
ln -s ~/your-theme-folder .
  • Restart ghost (ghost restart)

Dev Script

# Start the live reload server and compile your JS/CSS assets, and watch for changes
npm run dev

If your site isn't refreshing, you'll likely need to disable your browser's caching. Go to the Network tab in your dev tools and toggle "Disable cache".

Production Scripts

# Fix any CSS issues, compile your JS/CSS assets for production, and create a ZIP file
npm run zip

# Scan your theme for potential incompatibilties with gscan
npm run check

About

A starter template for creating a custom Ghost theme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 36.4%
  • CSS 35.5%
  • Handlebars 28.1%