Skip to content

Sharmaz/the-sharmaz

Repository files navigation

The Sharmaz Theme

A custom Ghost theme for ivanrobles.pro

screenshot-desktop

Ghost Themes

Ghost uses a simple templating language called Handlebars for its themes. The Sharmaz is based on the ghost starter theme wich use Rollup, so I added TailwindCSS for the styles.

Theme structure

The main files are:

Development

To see realtime changes during development, symlink the sharmaz theme folder to the content/themes folder in your local Ghost install.

ln -s /path/to/the-sharmaz /ghost/content/themes/the-sharmaz

Restart Ghost and select the sharmaz theme from Settings.

From the theme's root directory, install the dependencies:

yarn install

Start development mode

From the sharmaz theme folder, start development mode:

yarn dev

Changes you make to your styles, scripts, and Handlebars files will show up automatically in the browser. CSS and Javascript will be compiled and output to the built folder.

Press ctrl + c in the terminal to exit development mode.

Build, test, and zip the theme

Compile your CSS and JavaScript assets for production with the following command:

yarn build

Use gscan to test your theme for compatibility with Ghost:

yarn test

Create a zip archive:

yarn zip

Copyright & License

Copyright (c) The Sharmaz - Released under the MIT license.

About

A Ghost CMS blog theme for https://ivanrobles.pro/

Resources

License

Stars

Watchers

Forks

Packages

No packages published