mirror of
https://github.com/tangkunyin/hexo-theme-jsimple.git
synced 2026-01-25 14:56:28 +00:00
JSimple
适用于HEXO的三栏简书式主题。支持响应式、站内搜索、PAjax等.
下边这个视频更生动精彩
安装步骤
- 从 GitHub 下载代码
$ git clone https://github.com/tangkunyin/hexo-theme-jsimple themes/jsimple
- 去主题中开启
在_config.yml中更改 theme 字段为 jsimple.
- 更新主题
$ cd themes/jsimple
$ git pull
配置
-
favicon
favicon: favicon.png path -
封面图和标题配置
coverTitle: your cover title string indexCover: coverImage.jpg path -
首页文档展示顺序和展示数目
homeArticleShown: 10 homePageSortType: -1type: -1: 最新的在前,1: 最旧的在前
-
网站管理者信息,这些信息将显示在文章头部
avatar: avatar.png path authorName: your name authorLink: your website link authorAbout: about you link authorDesc: you description string -
网站建立时间,来纪念网站活了多久
siteBuildingTime: 12/12/2014 -
独立页面链接,如需更改,请直接修改主题对应字段
about: /about links: /friendlinks feedback: /feedback timeline: /timeline -
社交信息
sinaWb: https://weibo.com/tangkunyin facebook: https://fackbook.com/tangkunyin github: https://github.com/tangkunyin -
托管服务器信息
pageServerName: your page server name pageServerUrl: page server invite link -
顶部导航菜单名称配置
menu: 分类1: 分类别名1 分类2: 分类别名2 分类3: 分类别名3
名称的顺序决定在首页的展示顺序,因此在你启动网页服务器时,请先设置网站分类、标签的别名。具体字段是
category_map和tag_map,别名必须和这里的菜单设置一致。否则访问将出现异常。
评论和统计的配置直接写在_config.yml,请自行添加duoshuo_shortname、disqus_shortname和cnzz_siteid
浏览器支持
贡献
啥都不说了,喜欢就点赞。欢迎PR。已知代码高亮不是太完美,强迫症可以试试下边的主题...
乌谢
License
JSimple is under the MIT license. See the LICENSE file for details.
Description
Languages
JavaScript
60.5%
EJS
35.2%
HTML
4%
Shell
0.3%

