gdayton / cusca

A ghost theme

Home Page:https://www.wdiaz.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CUSCA

License: MIT Donate

A theme for Ghost 1.0.

What that mean cusca?

Is the abbreviation for Cuscatlán, it was the name of El Salvador before the conquest and means "the land of precious things" in Nahuatl.


Introduction

Cusca was development using Foundation, and other libraries:

Installation

Inside the Ghost themes folder (content/themes) you have to clone the repository or download the last version:

Last release

git clone https://github.com/wdiazux/cusca.git

⚠️ Important:

You will need to enable the Ghost Public API and Subscribers, both option are in the Labs in the Admin panel. You also can Read how to do it on my blog.

Setup

Disqus

Inside the post.hbs file you need to replace [your-disqus-name] with your Disqus name:

(function() { // DON'T EDIT BELOW THIS LINE
    var d = document, s = d.createElement('script');
    s.async = true;
    s.src = 'https://[your-disqus-name].disqus.com/embed.js';
    s.setAttribute('data-timestamp', +new Date());
    (d.head || d.body).appendChild(s);
})();

Do the same for partials/loop.hbs:

<script id="dsq-count-scr" src="//[your-disqus-name].disqus.com/count.js" async></script>

Social Icons

For Facebook and Twitter

You need to go to the Ghost console in Settings > General > Social accounts, insert the links to your profiles.

For other Networks

Inside the partials/header.hbs file replace [your-user] with your user names for each social network:

<li class="nd-social-youtube">
    <a target="_blank" href="https://www.youtube.com/user/[your-user]"><i class="fa fa-youtube fa-lg"></i></a>
</li>
<li class="nd-social-instagram">
    <a target="_blank" href="https://www.instagram.com/[your-user]"><i class="fa fa-instagram fa-lg"></i></a>
</li>
<li class="nd-social-github">
    <a target="_blank" href="https://github.com/[your-user]"><i class="fa fa-github fa-lg"></i></a>
</li>

Google Analytics

Inside the partials/google_analytics.hbs file replace [your-ga-id] with your google analytics id:

window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', '[your-ga-id]', 'auto');
ga('send', 'pageview');

License

The theme is under the MIT License, but if you are going to use the for commercial purposes, please note the libraries are not all free.

About

A ghost theme

https://www.wdiaz.org

License:MIT License


Languages

Language:CSS 84.3%Language:HTML 8.5%Language:JavaScript 7.2%