Skip to content

Latest commit

 

History

History
88 lines (57 loc) · 2.76 KB

README.md

File metadata and controls

88 lines (57 loc) · 2.76 KB

Text for Ghost

Ghost version Ghost version GitHub forks GitHub stars GitHub issues GitHub license

Introduction

This theme is for Ghost, a blogging platform. It supports ghost version greater than 1.0.0.

For ghost <= v0.8.x, please use verstion 1.3.0

I focus on things below:

  • Reader first: clear readability.
  • A responsive theme along with less CSS code and simple HTML construction.
  • Less animation, no font or image icon.

preview image

Demo

Live theme is use my blog: blog.gary-lai.com

Features

  • Responsive
  • Error Page(ex: 404, 500)
  • Authors, Tags, Pages
  • Navigation
  • Code highlighting via highlightjs
    • Line numbers support (Optional)
  • Google Analytics (Optional)
  • Disqus(Optional): comments and comments count, (Thanks @Windfarer)

Optional

  • subscriber

Installation

Chose one option below:

After install the theme, please restart server then you can change theme on settings page.

Code Injection

Blog Header

<script>
// to enable Google Analytics
var ga_id = 'YOUR UA ID HERE';

// to enable Disqus
var disqus_shortname = 'YOUR DISQUS SHORT NAME HERE'
</script>

Blog footer

// to enable line number support
<script>
hljs.initLineNumbersOnLoad();
</script>

Development

You should set your ghost on your develop machine, Please follow official instruction.

Then clone this repository under this directory: ghost/content/themes/

Fire up local server and change your theme to text.

License

Open sourced under the MIT license.