Skip to content

sethbergman/Kazpa2

Repository files navigation

Kazpa2

The supercharged Casper theme for Ghost.

Intro

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

Features

Demo

I am using this theme for my personal blog at blog.sethbergman.com.

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/sethbergman/Kazpa2.git content/themes/Kazpa2

Then restart Ghost and select kazpa2 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/sethbergman/Kazpa2'
}
</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'

Helpers

Helpers

{{#get "posts" filter="featured:false" limit="8" include="author,tags"}}
  {{#foreach posts}}
    {{^has tag="portfolio"}}
      {{! this block will not show posts tagged portfolio }}
    {{/has}}
  {{/foreach}}
{{/get}}
{{#get "posts" filter="featured:false+tags:-[portfolio]" limit="8" include="author,tags"}}

Copyright & License

Released under the MIT License.

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

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published