极简的hexo主题3-hexo
2017-03-04 本文已影响462人
杨玉杰
hexo-theme-3-hexo 是为 hexo 制作的主题,demo:yelog.org
笔者从去年9月份开始使用hexo,一直使用yilia及其派生主题。但当文章数量稍微多一点,这些主题就显得各种不方便。
遍寻了各种主题没有一个满意的,索性就在今年2月份开发了此主题。
核心理念:三段式设计、方便简洁。有爱请自取。
关于主题
- 三段式设计,方便简洁
- 通过分类、标签、标题关键字筛选文章
- 适配pc端、pad端、手机端
- 多作者模式
外观
PC端
整体效果:
![](https://img.haomeiwen.com/i1052511/678b86075391921f.gif)
搜索: 标题模糊搜索,作者搜索,标签搜索
![](https://img.haomeiwen.com/i1052511/9ef6e5d71ca774e9.gif)
ipad端
![](https://img.haomeiwen.com/i1052511/d1a8ea343ee29c0d.gif)
手机端
![](https://img.haomeiwen.com/i1052511/37a84a5688d344c3.gif)
使用
1.安装
$ git clone https://github.com/yelog/hexo-theme-3-hexo.git themes/3-hexo
2.配置
修改hexo根目录的_config.yml
的两处,如下
theme: 3-hexo
highlight:
enable: false #关闭hexo渲染高亮,使用主题代码块高亮
在hexo 根目录source下添加avatar.jpg
文件,作为头像
3.更新
$ cd themes/3-hexo
$ git pull