Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 1.42 KB

README.md

File metadata and controls

64 lines (43 loc) · 1.42 KB

Poppy

English | 简体中文

Beautiful and Enticing theme for Ghost, better support for Chinese. The design comes from Casper and dribbble.

 

Features

  • Responsive layout
  • Navigation support
  • Code syntax highlight
  • Disqus support
  • Subscribers support
  • Donate support
  • Share support
  • Time axis
  • Search support
  • Configurable

Getting started

Clone the repository and install dependencies.

$ git clone https://github.com/hezhii/poppy.git
$ cd poppy
$ npm install

Development

You should install Ghost locally first, then link the poppy to the ghost/content/themes.

Start ghost:

$ cd <ghost>
$ ghost start

Then you can visit ghost at http://localhost:2368. You need to activate the poppy on the management page.

After that, from the theme's root directory:

$ npm run dev

Now you can edit /src files, which will be compiled to /assets automatically.

Deploy

$ cd poppy
$ npm run build

This command will packages the theme files into dist/poppy.zip, which you can then upload to your site.

You can also download theme package directly from GitHub releases.