Skip to content
The official Ghost blog theme
Branch: master
Clone or download
Latest commit 22215b8 Apr 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets Sigh Mar 21, 2019
partials 🐛 Fixed GScan errors Apr 18, 2019
.editorconfig Casper amends Sep 19, 2017
.gitignore
.travis.yml
LICENSE 2019 Jan 1, 2019
README.md 2019 Jan 1, 2019
author.hbs Fuck it Mar 21, 2019
custom-full-width.hbs No top byline for full width template Aug 21, 2018
default.hbs 🐛 Fixed GScan errors Apr 18, 2019
error-404.hbs 🐛 Fixed GScan errors Apr 18, 2019
error.hbs 🐛 Fixed GScan errors Apr 18, 2019
gulpfile.js
index.hbs
package.json
page-newsletter.hbs Tidy up validation, new footer Apr 17, 2018
page-podcast.hbs Update podcast links May 10, 2018
page.hbs
post.hbs
tag.hbs
yarn.lock ⬆️ Updated Gulp to v4 and made livereload work Mar 14, 2019

README.md

blog.ghost.org

The theme for our official company blog. This is fairly heavily modified version of the Casper theme, with a bunch of hard coded variables. It will not automatically work on any Ghost installation.

Development

Styles are compiled using Gulp/PostCSS to polyfill future CSS spec. You'll need Node and Gulp installed globally. After that, from the theme's root directory:

$ yarn install
$ yarn dev

Now you can edit /assets/css/ files, which will be compiled to /assets/built/ automatically.

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

$ yarn zip

PostCSS Features Used

  • Autoprefixer - Don't worry about writing browser prefixes of any kind, it's all done automatically with support for the latest 2 major versions of every browser.
  • Variables - Simple pure CSS variables
  • Color Function

SVG Icons

Inline SVG icons are included via Handlebars partials. You can find all icons inside /partials/icons. To use an icon just include the name of the relevant file, eg. To include the SVG icon in /partials/icons/rss.hbs - use {{> "icons/rss"}}.

You can add your own SVG icons in the same manner.

Copyright & License

Copyright (c) 2013-2019 Ghost Foundation - Released under the MIT license.

You can’t perform that action at this time.