Skip to content

Latest commit

 

History

History
86 lines (70 loc) · 2.66 KB

README.md

File metadata and controls

86 lines (70 loc) · 2.66 KB

Origami: A fancy ghost theme

Ghost version Ghost version Github All Releases Release Version License

Warning

  • To apply this theme, you should turn on public api setting in labs.

Usage

Use it by cloning

$ git clone https://github.com/if-Team/origami.git
$ git submodule init
$ git submodule update --recursive
$ npm install
$ npm run build --production

Use it by downloading from releases

  1. Download origami
  2. Upload to server.
  3. Unzip and restart ghost. (If you didn't upload via ghost settings.)
  4. Activate origami

Disqus Integration

<script>
    (function() { // DON'T EDIT BELOW THIS LINE
        var d = document, s = d.createElement('script');
        s.src = '//EXAMPLE.disqus.com/embed.js';
        s.setAttribute('data-timestamp', +new Date());
        (d.head || d.body).appendChild(s);
    })();
</script>

Comment Count Integration

<script id="dsq-count-scr" src="//EXAMPLE.disqus.com/count.js" async></script>

In code injection settings, please add these things and change EXAMPLE to your disqus site name. You can get this code on admin tab of disqus, too!

Changing font

<style>
.site-footer, .pagination, .page-number,
h1, h2, h3, h4, h5, h6, button,
.main-nav a, .nav-title, .nav-link span,
.subscribe-button, .page-title {
    font-family: 'Title font here', sans-serif;
}

.gh-subscribe-rss,
body, textarea, select, input,
.nav-desc, .page-description,
.post-meta,
.author-profile .author-meta,
.read-next-story .post:before {
    font-family: 'Content font here', sans-serif;
}

code, tt, pre, kbd, samp {
    font-family: 'Code font here', monospace;
}
</style>

Add this code to code injection settings and change font-family into your desired font.

Desktop

Desktop Preview

Mobile

Mobile Preview

Copyright & License

Copyright (c) 2017 Ghost Foundation, if-Team - Released under the MIT license.