Skip to content

Charlie-belmer/Decode-for-Ghost

 
 

Repository files navigation

Decode for Ghost

A minimal, modern theme, designed to be mobile first and very responsive, Decode is built just for Ghost and uses Ghost's innovative features to present a beautiful and clean blog.

Please open an issue here on GitHub if you have any suggestions or problems with the theme.

Copyright (c) 2013-2019 Scott Smith - Released under The MIT License.

Compiling Theme (For development)

  1. Change into the root directory of the theme

    cd /path/to/ghost/content/themes/decode/

  2. Install dependencies for npm

    npm ci || npm install

  3. Run Gulp

    gulp build

  4. Restart Ghost (Only needed if ghost is running in production.)

    ghost restart

Compiling Theme (For deployment)

There is a gulp task to create a zip file that can be uploaded to Ghost's admin.

  1. Change into the root directory of the theme

    cd /path/to/ghost/content/themes/decode/

  2. Install dependencies for npm

    npm ci || npm install

  3. Run Gulp

    gulp bundle

  4. In your Ghost Design admin page, upload the file found in /path/to/ghost/content/themes/decode/distribution

Additional Notes

Syntax highlighting is not supported by Decode, but you can easily inject prism, or highlightjs using the code injection tab.

About

A version of Decode made for Ghost.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 66.9%
  • HTML 25.0%
  • JavaScript 8.1%