JSimple is a responsive blog theme for Hexo which include day night model,insight search,article view count etc. Inspired by JianShu.com.
- Get it from GitHub
$ git clone https://github.com/tangkunyin/hexo-theme-jsimple themes/jsimple
- Enable
Modify theme
setting in _config.yml
to jsimple
.
- Update
$ cd themes/jsimple
$ git pull
-
favicon
favicon: favicon.png path
-
cover info config
coverTitle: your cover title string
There are two kinds of cover image. replace day and night in your theme images dir.
-
Home page sort type and article shown number
homeArticleShown: 10 homePageSortType: -1
type: -1: newer first,1: older first.
-
webmaster info config
avatar: avatar.png path authorName: your name authorLink: your website link authorAbout: about you link authorDesc: you description string
-
your site build time or founded date
siteBuildingTime: 12/12/2014
-
Independent page of uri config
about: /about links: /friendlinks feedback: /feedback timeline: /timeline
-
Social info config
sinaWb: https://weibo.com/tangkunyin facebook: https://fackbook.com/tangkunyin github: https://github.com/tangkunyin
-
Git-pages server info
pageServerName: your page server name pageServerUrl: page server invite link
-
Top navigate menu name
menu: category1: category alias1 category2: category alias2 category3: category alias3
Name order decide show index.The name also called category alias,so you must set category alias before start server. BTW,
category_map
andtag_map
field in site_config.yml
file must one to one correspondence with menus above.
Comment and CNZZ Analytics config in your site _config.yml, please add them manually
All kinds of contributions (enhancements, new features, documentation & code improvements, issues & bugs reporting) are welcome.
Looking forward to your pull request.
Special thanks to iTimeTraveler and jiangmuzi, who designed the theme Hipaper and JianShu.
JSimple is under the MIT license. See the LICENSE file for details.