A Multi-column Ghost Theme.
To switch between these layouts set the
$compact-preview-layout variable to
Syntax highlighting is powered by Prism. By default it uses the Okaidia theme and supports
Extending the supported languages or changing the theme can easily be done by modifying the
In case you don't need the Syntax highlighting at all simply remove these lines from
import Prism from 'prismjs'; Prism.highlightAll();
- Clone the repository to
- Install npm dependencies with
npm run devto start webpack with the
- SASS and JS will be automatically compiled after changes
The theme is tested against
- gscan (
npm run gscan)
- sass-lint (
npm run sass-lint)
- eslint (
npm run eslint)
Alternatively you can run
npm test to test all of the above.
To build the theme simply run
npm run build. This will run
webpack in production, which will
automatically take care of asset optimization (aka minification and uglification).