stun logo

一个漂亮、简洁的 hexo 主题

Commitizen friendly GitHub hexo GitHub release

## 演示 - [蚂蚁的博客](https://liuyib.github.io/) 如果你正在使用 stun 主题,并希望像上面一样,在这里展示出来,你可以通过 PR 将你的网站链接填写在这里。 ## 安装 - 安装 stun 进入 hexo 根目录,执行指令。 ``` bash git clone https://github.com/liuyib/hexo-theme-stun.git themes/stun ``` - 如果你没有安装对 pug, stylus 的支持,还需执行指令 ``` bash npm install --save-dev hexo-render-pug hexo-renderer-stylus ``` ## 使用 修改 hexo 根目录下的 `_config.yml` 文件。 ``` yml theme: stun ``` ## 更新 ``` bash cd themes/stun git pull ``` ## 配置 如果你不想麻烦,你只需要填写网站 favicon 和站点头像的路径即可完成最基本的配置。其他的配置项都是默认的。 ``` yml favicon: # url or path avatar: # url or path ``` 详细配置,请访问:[https://liuyib.github.io/hexo-theme-stun/](https://liuyib.github.io/hexo-theme-stun/) ## 浏览器支持 IE >= 10 ## 开源协议 [MIT](https://github.com/liuyib/hexo-theme-stun/blob/master/LICENSE)