Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/royalfig/ghost-theme-starter

A starter template for creating a custom Ghost theme
https://github.com/royalfig/ghost-theme-starter

ghost ghost-theme

Last synced: 3 months ago
JSON representation

A starter template for creating a custom Ghost theme

Awesome Lists containing this project

README

        

# Ghost Starter Theme

- To get started, click `Use this template` and clone the repo
- CD into the directory

```bash
npm install
```

- Make a symlink from the theme directory to your local install of Ghost's themes folder

``` bash
# /content/themes
ln -s ~/your-theme-folder .
```
- Restart ghost (`ghost restart`)

## Dev Script

```bash
# 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
```bash
# 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
```