GxxGhost
This is a icarus theme for Ghost.
Feature
- use highlightjs to highlight code
- use disqus for comments
- use pjax
- use baidu to handle the search
- design by COoL but somethings refer to the icarus theme of hexo and w3cplus
Installation
-
install ghost
-
checkout this repo to themes folder
$ cd ghostfolder/content/themes $ git clone https://github.com/coolhihi/gxxghost.git
Configuration
-
Blog title
edit this file
partials/custom/sitetitle.hbs
-
Owner info in sidebar
edit this file
partials/custom/owner.hbs
-
add or edit
<meta>
edit this file
partials/custom/meta.hbs
-
because ghost do not have folder, so I make hidden tags to do this, the hidden tags should not show in sidebar. so edit
partials/sitebar
to change the my 3 chinese words -
change disqus's shortname, baidu search sid, google analytics id
edit this file
partials/custom/config.hbs
Use
- log in your ghost manage platform
- go to
General
to select thisGxxGhost
theme - go to
Labs
to tickPublic API
(if you want to use the images list and tags list in sidebar, you must do this) - restart your ghost