Skip to content
A boilerplate for ghost themes
CSS HTML JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
partials
.editorconfig
.eslintignore
.eslintrc.json
.gitignore
.gitlab-ci.yml
.travis.yml
README.md
author.hbs
default.hbs
gulpfile.js
home.hbs
index.hbs
package-lock.json
package.json
page-contact.hbs
page.hbs
post.hbs
tag.hbs

README.md

Blank Ghost Theme

A boilerplate for ghost themes.

Development

Styles are preprocessed using Sass. You'll need Node and Gulp installed globally. After that, from the theme's root directory:

$ npm install
$ gulp watch

Now you can edit /assets/sass/ files, which will be compiled to /assets/css/ automatically. All Javascript files in assets/js/src directory are minified to assets/js/dist directory.

The zip Gulp task packages the theme files into dist/<theme-name>.zip, which you can then upload to your site.

$ gulp zip

Auto Release Deployment

Travis CI

travis.yml is configured to push releases on tagged commits. You can setup your API key using Travis CI Client. Read more details here:

https://github.com/travis-ci/travis.rb
https://docs.travis-ci.com/user/deployment/releases/

Gitlab CI

gitlab-ci.yml is configured to push releases on Gitlab on tagged commits. Follow the steps mentioned in the following repo to setup your access token.

https://github.com/inetprocess/gitlab-release


Credits

You can’t perform that action at this time.