Theme for Ghost blogging platform
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
partials Remove redundant Card metadata Nov 3, 2017
LICENSE Added theme files, correct README and LICENSE Oct 23, 2016
README.md Update README Sep 10, 2017
default.hbs Change names of partials Sep 2, 2017
index.hbs Added theme files, correct README and LICENSE Oct 23, 2016
package.json Bump version Sep 3, 2017
page.hbs
post.hbs initial commit to generalize the modifications Mar 24, 2017

README.md

Beautiful Ghost - A port of Beautiful Jekyll theme

This is a porting of Beautiful Jekyll theme by Dean Attali. It supports most of the features of the original theme.

Too see a live preview, just visit my blog!

From version 1.1, beautiful-ghost will support only Ghost >= 1.0. It will work also on older versions, but some feature may be disabled (e.g., favicon).

TODO

  • Comments count disqus

Installation

Easy way:

Head to the releases page and grab the last version. Then in your ghost installation go in Settings/Design and click on Upload a theme. You're done! 🎉

If you want to customize some parts, great! Clone the repository, make your modifications and recreate the zip file:

    $ git clone https://github.com/boh717/beautiful-ghost.git
    // Your modifications
    // Then move in theme root level
    $ cd beautiful-ghost
    $ zip -r beautiful-ghost.zip *
    // Upload the theme zip as before

Features

Responsive

This theme is designed for both large-screen and small-screen (mobile) devices.

Syntax highlighting

This theme has support for syntax highlighting thanks to the PrismJS library.

Disqus support

To use this feature, change {{!> disqus}} into {{> disqus}} in post.hbs and fill out the disqus_shortname parameter in partials/disqus.hbs.

Google Analytics

To add Google Analytics, simply sign up to Google Analytics to obtain your Google Tracking ID, add this tracking ID to partials/google-analytics.hbs and change {{!> google-analytics}} into {{> google-analytics}} in partials/footer.hbs.

No header image in posts (but yes in social networks)

In header_post_page.hbs you will find a switch:

{{> header_image}}
{{!> no_header_image}}

The first one ({{> header_image}}) is the default: if you upload a post image it will be shown in post page AND on social networks when you share it; if you don't upload an image, then it won't show anywhere. Easy peasy.

The second option ({{!> no_header_image}}) is a little bit different: you will never see the uploaded post image on your blog, but if you share it, then the image will display, giving better visibility to your tweet/FB post.

These two options are mutually exclusive, only one at a time must be activated.

License

MIT Licensed, see LICENSE.