Skip to content

vipcare/vipcare

Repository files navigation

VIP Chiropractic Care

The supercharged Casper theme for Ghost.

Intro

vipcare is the supercharged Casper theme, which is forked from Ghost's default theme. Inspired from my previously favorite theme Odin, vipcare 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/sethbergman/vipcare.git content/themes/vipcare

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

Handlebars 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)