CUSCA
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.
Installation
Inside the Ghost themes folder (content/themes) you have to clone the repository or download the last version:
git clone https://github.com/wdiazux/cusca.git
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');