GithubHelp home page GithubHelp logo

hungys / caspers Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 2.0 1.23 MB

The supercharged Casper theme for Ghost.

License: MIT License

CSS 52.90% JavaScript 8.26% HTML 38.84%
ghost ghost-theme blogging

caspers's Introduction

Casper S

The supercharged Casper theme for Ghost.

Intro

Casper S is the supercharged Casper theme, which is forked from Ghost's default theme. Inspired from my previously favorite theme Odin, Casper S is built based on vanilla Casper of Ghost 1.x, and several useful features for geeks, hackers and developers are added.

Features

Installation

Just like any themes for Ghost, clone or download the content of repo and put them in content/themes/ folder under your Ghost installation.

$ cd /your-ghost-root-directory
$ git clone https://github.com/hungys/CasperS.git content/themes/CasperS

Then restart Ghost and select casper-s in the Design section of admin panel.

Configuration

You can configure for Google Analytics, Disqus, and social links using Ghost's Code Injection feature. Just paste the following example to Blog Header section and fill in your information.

<script>
var ga_id = 'UA-xxxxxxxx-x';
var disqus_shortname = 'your-shortname'
var social_link = {
    'linkedin': 'https://www.linkedin.com/in/username',
    'github': 'https://github.com/username',
    'medium': 'https://medium.com/@userid',
    'casper-local': 'https://github.com/hungys/CasperS'
}
</script>

For social links, we provide icons for 20 popular services (check the following list). For this kind of services including 'linkedin' and 'github', the icons will be loaded from your website directly. For other services such as 'medium', the icons will be loaded from simpleicons.org, and you can check the full list on their website and GitHub. You can also use your custom SVG icons by attaching -local suffix to the key, for exmaple, casper.svg will be loaded for key 'casper-local', and you should prepare the icon and put it under assets/icons/.

'500px', 'facebook', 'flickr', 'github', 'gmail', 'googleplus', 'instagram', 'line', 'linkedin', 'messenger', 'microsoftoutlook', 'plurk', 'sinaweibo', 'skype', 'snapchat', 'stackoverflow', 'telegram', 'twitter', 'wechat', 'whatsapp'

Copyright & License

Released under the MIT License.

Copyright (c) 2013-2017 Ghost Foundation (for Casper theme)

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.