Skip to content

jonmholt/ghost-themes

 
 

Repository files navigation

Phantom

A minimalistic theme for Ghost inspired by the Designmodo Journal.

Phantom

Installation

  1. Download the theme from GitHub.
  2. Upload the theme as described in the Ghost Documentation.

Looking for more instructions? Sorry, it's just that easy.

Enabling Disqus Comments

If you want to enable comments, simply open post.hbs and remove the exclamation mark in the comments block, so {{!> comments}} becomes {{> comments}}.

You'll also need to enter your Disqus "shortname". Just head on over to the Disqus website and register for an account. They'll give you a small snippet of code, but all we need from it is the following line:

var disqus_shortname = 'YOUR_SHORTNAME_HERE';

Once you have that, just open partials/comments.hbs and replace the YOUR_SHORTNAME_HERE variable with the one Disqus gave you. Try not to edit any other settings or replace the code though, it's preconfigured to work with Ghost.

Featured images

While featured images are not part of Ghost (yet), there are ways to implement them with some hacky Javascript. If you want to enable featured images, simply open post.hbs (and/or page.hbs) and remove the exclamation mark in the comments block, so {{!> featured}} becomes {{> featured}}. You can also remove the background-cover code from each file to prevent flashing content:

{{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}

This will remove the first image in your article and use it as the cover photo, so make sure you put a featured image at the top of your article.

Forking and derivatives

I don't really mind what you do with this project, as long as your blog looks awesome. I'd appreciate if you left the <meta name="designer"> as Hayden Bleasel but I won't hold it against you if you change it. I think it'd be good if you make some reference back to me so people can find the source project, but other than that just have fun. Also, if you're going to make style edits I recommend creating a new stylesheet and linking that up so you can still fetch the latest updates from here without losing all your changes.

Credits

I'd like to give a huge thank you to David Dupouy from FounderSquad for helping me resolve a number of issues with the theme and introduce a new "featured images" functionality.

About

Themes for the Ghost blogging platform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • CSS 88.0%
  • JavaScript 12.0%