Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jmromer/casper

Ghost's Casper theme, for Octopress.
https://github.com/jmromer/casper

ghost-casper-theme jekyll jekyll-theme octopress theme

Last synced: 6 days ago
JSON representation

Ghost's Casper theme, for Octopress.

Awesome Lists containing this project

README

        

Casper (for Octopress)
=======================

An Octopress port of Ghost's Casper theme.

## Preview

![Blog Index](images/cover-image.jpg)

**Syntax Highlighting**
(courtesy of [Highlight.js](http://highlightjs.org))

**GitHub**:

![GitHub](images/casper-github.jpg)

**Railscasts**:

![Railscasts](images/casper-railscasts.jpg)

**Solarized Dark**:

![Solarized Dark](images/casper-solarized_dark.jpg)

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](http://highlightjs.org) for a complete list of color schemes
and languages recognized.

## Installation

### Using `git submodule`

#### Installing
```
$ cd
$ git submodule add https://github.com/jkrmr/casper.git .themes/casper
$ git submodule update --init
$ rake install['casper']
$ rake generate
```

#### Updating
```
$ cd
$ git submodule update
$ rake install['casper']
# regenerate, make changes, etc...
```

### Using `git clone`

#### Installing
```
$ cd
$ git clone https://github.com/jkrmr/casper .themes/casper
$ rake install['casper']
$ rake generate
```

#### Updating
```
$ cd /.themes/casper
$ git pull
$ rake install['casper']
# regenerate, make changes, etc...
```

## Thanks!

Thanks to the following developers for their contributions:

[Kat Hagan](http://github.com/codebykat)

[Russell Brooks](http://github.com/iq9)

[Alejandra Estanislao](http://github.com/alestanis)

[Rosario Rascuna](http://github.com/rosario)

[Rob Dodson](http://github.com/robdodson)

And, of course, to the [Ghost](http://github.com/TryGhost/Casper) 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.