Casper Photo
Fork of Casper (the default included theme for Ghost), improved for photo blogs.
Fork differences
- Removed the large card in the "grid view" so always displays 3 images/posts per row
- Maintain the aspect ratio of images (not forced to 200px high)
- Display featured images from posts only, no date, author, or tags (still shows these within the post view)
- Removed reading time display from posts
- Miscellaneous style changes
Installing
Download the latest .zip from the releases page.
Then within your Ghost site navigate to setting > design (/ghost/#/settings/design
) and upload the .zip using the Upload a theme button, then click ACTIVATE.
Development
Casper Photo styles are compiled using Gulp/PostCSS to polyfill future CSS spec. You'll need Node, Yarn and Gulp installed globally. After that, from the theme's root directory:
# install dependencies
yarn install
# run development server
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/casper-photo.zip
, which you can then upload to your site.
# create .zip file
yarn zip