Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.
/ creative-theme Public archive

A personal blogging theme for Ghost, inspired by Casper

License

Notifications You must be signed in to change notification settings

zce/creative-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creative

Build Status Release Version License Dependency Status devDependency Status Code Style

A personal blogging theme for Ghost, inspired by Casper

Usage

Development

# clone this repo
$ git clone https://github.com/zce/creative.git

# install the deps
$ cd creative && yarn

# run build & livereload task
$ yarn dev

# link to ghost themes dir
$ ln -s $PWD path/to/ghost/content/themes/creative

# restart ghost server
$ cd path/to/ghost && ghost restart --development

Features

  • Tags navigation
  • Gallery preview
  • Image lazyload
  • Infinite scroll
  • I18n support
    • Activate the language in the General settings of Ghost admin, e.g. zh-CN, en
  • Comments
  • Search
    • Search auto complete
    • Search page
    • Search app
  • Svg icon
  • Feature pages
    • Talk page
    • Topics page
    • Search page
    • Archive page
  • Custom template
    • Landing
    • Full width
    • Wide
    • Course
    • Video
  • Custom built-in template (error, amp, subscribe, private)
  • PJAX support
  • Pure JS

Templates

  • default.hbs
  • home.hbs
  • index.hbs
  • tag.hbs
  • author.hbs
  • page.hbs
  • page-archive.hbs
  • page-search.hbs
  • page-team.hbs
  • page-topics.hbs
  • post.hbs
  • amp.hbs
  • custom-landing.hbs
  • custom-full.hbs
  • custom-wide.hbs
  • custom-course.hbs
  • custom-video.hbs
  • subscribe.hbs
  • private.hbs
  • error.hbs
  • robots.txt

References

Contributing

  1. Fork it on GitHub!
  2. Clone the fork to your own machine.
  3. Checkout your feature branch: git checkout -b my-awesome-feature
  4. Commit your changes to your own branch: git commit -am 'Add some feature'
  5. Push your work back up to your fork: git push -u origin my-awesome-feature
  6. Submit a Pull Request so that we can review your changes.

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

License

MIT © 汪磊