Skip to content
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.

jmromer/casper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Casper (for Octopress)

An Octopress port of Ghost's Casper theme.

Preview

Blog Index

Syntax Highlighting (courtesy of Highlight.js)

GitHub:

GitHub

Railscasts:

Railscasts

Solarized Dark:

Solarized Dark

To have Highlight.js color your code, use tilde-gated code blocks (~~~).

Your code's language will be automatically detected, but to set it explicitly, just append the language name to the opening fence (~~~js).

To change themes, set highlight_js_color_theme in _config.yml.

See Highlight.js for a complete list of color schemes and languages recognized.

Installation

Using git submodule

Installing

$ cd <your octopress directory>
$ git submodule add https://github.com/jkrmr/casper.git .themes/casper
$ git submodule update --init
$ rake install['casper']
$ rake generate

Updating

$ cd <your octopress directory>
$ git submodule update
$ rake install['casper']
# regenerate, make changes, etc...

Using git clone

Installing

$ cd <your octopress directory>
$ git clone https://github.com/jkrmr/casper .themes/casper
$ rake install['casper']
$ rake generate

Updating

$ cd <your octopress directory>/.themes/casper
$ git pull
$ rake install['casper']
# regenerate, make changes, etc...

Thanks!

Thanks to the following developers for their contributions:

Kat Hagan
Russell Brooks
Alejandra Estanislao
Rosario Rascuna
Rob Dodson

And, of course, to the Ghost team.

Pull requests are welcome!

License

(The MIT License)

Copyright © 2014 Jake Romer

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Releases

No releases published

Packages

No packages published