https://github.com/imgarylai/text
👻 An elegant ghost blogging theme. Mandarin optimization support.
https://github.com/imgarylai/text
blog code-highlight ghost ghost-theme theme
Last synced: 7 months ago
JSON representation
👻 An elegant ghost blogging theme. Mandarin optimization support.
- Host: GitHub
- URL: https://github.com/imgarylai/text
- Owner: imgarylai
- License: other
- Created: 2016-06-13T03:38:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T08:57:51.000Z (about 2 years ago)
- Last Synced: 2025-04-05T21:25:19.641Z (11 months ago)
- Topics: blog, code-highlight, ghost, ghost-theme, theme
- Language: CSS
- Homepage: https://blog.gary-lai.com
- Size: 356 KB
- Stars: 63
- Watchers: 4
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Text for Ghost


[](https://github.com/imgarylai/text/network)
[](https://github.com/imgarylai/text/stargazers)
[](https://github.com/imgarylai/text/issues)
[](https://raw.githubusercontent.com/imgarylai/text/master/LICENSE.md)
## Introduction
This theme is for [Ghost](https://ghost.org), a blogging platform. It supports ghost version greater than 1.0.0.
> For ghost <= v0.8.x, please use [verstion 1.3.0](https://github.com/imgarylai/text/tree/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.

## Demo
Live theme is use my blog: [blog.gary-lai.com](https://blog.gary-lai.com)
## Features
- Responsive
- Error Page(ex: 404, 500)
- Authors, Tags, Pages
- Navigation
- Code highlighting via [highlightjs](https://highlightjs.org/)
- Line numbers support (Optional)
- Google Analytics (Optional)
- Disqus(Optional): comments and comments count, (Thanks [@Windfarer](https://github.com/Windfarer))
### Optional
- subscriber
## Installation
Chose one option below:
- Download as [zip](https://github.com/imgarylai/text/archive/master.zip) and put the folder `text` under `ghost/content/themes/`
- Use git: clone this repository under 'ghost/content/themes'
- DigitalOcean + Ghost: [How To Change Themes and Adjust Settings in Ghost](https://www.digitalocean.com/community/tutorials/how-to-change-themes-and-adjust-settings-in-ghost)
After install the theme, please restart server then you can change theme on settings page.
## Code Injection
### Blog Header
```
// to enable Google Analytics
var ga_id = 'YOUR UA ID HERE';
// to enable Disqus
var disqus_shortname = 'YOUR DISQUS SHORT NAME HERE'
```
### Blog footer
```
// to enable line number support
hljs.initLineNumbersOnLoad();
```
## Development
You should set your ghost on your develop machine, Please follow [official instruction](https://github.com/TryGhost/Ghost#developer-install-from-git).
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](LICENSE.md).