Skip to content
/ text Public
forked from imgarylai/text

modified text theme for ghost, optimized for Simplified Chinese text display, thanks to the original author imgarylai. demo:

License

Notifications You must be signed in to change notification settings

Windfarer/text

 
 

Repository files navigation

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.

About

modified text theme for ghost, optimized for Simplified Chinese text display, thanks to the original author imgarylai. demo:

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 73.7%
  • Handlebars 26.3%