2017-02-22 13:42:57 +08:00
2017-02-22 13:42:57 +08:00
2017-02-20 14:01:37 +08:00
2015-09-16 13:36:04 +08:00
2017-02-20 22:16:26 +08:00
2017-02-20 22:10:09 +08:00
2017-02-08 11:02:30 +08:00
2017-02-21 00:11:05 +08:00
2017-02-21 00:11:05 +08:00

JSimple

Build Status

适用于HEXO的三栏简书式主题。支持响应式、站内搜索、PAjax等.

shuoit.net-iPhone_6-night

下边这个视频更生动精彩

JSimple-pc-web-demo.mp4

安装步骤

  1. 从 GitHub 下载代码
$ git clone https://github.com/tangkunyin/hexo-theme-jsimple themes/jsimple
  1. 去主题中开启

_config.yml中更改 theme 字段为 jsimple.

  1. 更新主题
$ cd themes/jsimple
$ git pull

配置

  1. favicon

     favicon: favicon.png path
    
  2. 封面图和标题配置

     coverTitle: your cover title string
     indexCover: coverImage.jpg path
    
  3. 首页文档展示顺序和展示数目

     homeArticleShown: 10
     homePageSortType: -1
    

    type: -1: 最新的在前1: 最旧的在前

  4. 网站管理者信息,这些信息将显示在文章头部

     avatar: avatar.png path
     authorName: your name
     authorLink: your website link
     authorAbout: about you link
     authorDesc: you description string
    
  5. 网站建立时间,来纪念网站活了多久

     siteBuildingTime: 12/12/2014
    
  6. 独立页面链接,如需更改,请直接修改主题对应字段

     about: /about
     links: /friendlinks
     feedback: /feedback
     timeline: /timeline
    
  7. 社交信息

     sinaWb: https://weibo.com/tangkunyin
     facebook: https://fackbook.com/tangkunyin
     github: https://github.com/tangkunyin
    
  8. 托管服务器信息

     pageServerName: your page server name
     pageServerUrl: page server invite link
    
  9. 顶部导航菜单名称配置

     menu:
     	分类1: 分类别名1
     	分类2: 分类别名2
     	分类3: 分类别名3
    

名称的顺序决定在首页的展示顺序,因此在你启动网页服务器时,请先设置网站分类、标签的别名。具体字段是category_maptag_map,别名必须和这里的菜单设置一致。否则访问将出现异常。

评论和统计的配置直接写在_config.yml请自行添加duoshuo_shortnamedisqus_shortnamecnzz_siteid

浏览器支持

贡献

啥都不说了,喜欢就点赞。欢迎PR。已知代码高亮不是太完美,强迫症可以试试下边的主题...

特别感谢 iTimeTravelerjiangmuzi, 他们提供了原型 HipaperJianShu.

乌谢

Hexo Font Awesome

License

JSimple is under the MIT license. See the LICENSE file for details.

Description
Simple three columns theme for Hexo.Inspired by JianShu.com
Readme 26 MiB
Languages
JavaScript 60.5%
EJS 35.2%
HTML 4%
Shell 0.3%