Giter Site home page Giter Site logo

casper's Introduction

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.

casper's People

Contributors

jmromer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

casper's Issues

random image on header

Hi,
thanks for this theme, I really like. I'm not a great coder (i'm just a teacher), so i just want to ask if there is a way to sort the header img between several images (randomly)

Paginator not working

When I installed the theme, it did not display any posts in the index page.

In source/index.html, I changed {% for post in paginator.posts %} to {% for post in site.posts %}, and the posts are now displaying. However, the pagination in the index page is not working. I think this is an issue with paginator.

Syntax Highlighting

I have some issues with the syntax highlighting.

I just migrate from whitespace theme to casper.
I've added this line (on my _config.yml file):

highlight_js_color_theme: github

But at the end, here is the result..

Do you have any idea why? As you can see the highlighting works, but I still have ~~~ displayed. This is the default post you gave.

Thanks in advance if you can help (or share your _config.yml file).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.