Stun Logo

一个漂亮、简洁的 Hexo 主题

js-standard-style Commitizen friendly FOSSA Status Dependency status GitHub LICENSE
Hexo version GitHub release Gitter

语言: [English](https://github.com/liuyib/hexo-theme-stun/blob/master/README_en-US.md) | [中文简体](https://github.com/liuyib/hexo-theme-stun/blob/master/README.md) ## :sparkles: 演示 - [Liuyib's Blog](https://liuyib.github.io/) - [弥枳's Blog](http://blog2.coor.top/) - [轻尘's Blog](https://qcxitong.xyz/) - [impressionyang's Blog](https://impressionyang.github.io) - [峡州仙士之页](https://cjh0613.gitee.io/blog/) - [Cheeks's Blog](https://www.cheeks.top/) - [lingan1996's Blog](https://www.lingan1996.top) - [MikyMing's Blog](https://mikyming.online/) - [Yichangkong's Blog](https://yichangkong.github.io/) - [樱井枫的小博客](https://sakurai.in/) - [Gemini's Blog](https://geminiplanet.cn/) 如果你准备长期使用 «Stun» 主题,并希望展示在这里,你只需在 [README](https://github.com/liuyib/hexo-theme-stun/edit/master/README.md) 中填入你的网站,然后提交 PR 即可。 ## :crystal_ball: 特性 - 简洁 & 快速 & 易用 & **可定制性高** - 响应式设计 - [二级导航菜单](https://liuyib.github.io/hexo-theme-stun/zh-CN/advanced/advanced-setting.html#二级导航菜单) - 支持[图片懒加载](https://liuyib.github.io/hexo-theme-stun/zh-CN/advanced/advanced-setting.html#图片懒加载) - 支持 [Pjax](https://github.com/defunkt/jquery-pjax) - 支持 [PWA](https://developers.google.com/web/progressive-web-apps) - 支持 [Fancybox](https://github.com/fancyapps/fancybox) - 支持 [Quicklink](https://github.com/GoogleChromeLabs/quicklink) - 支持 [MathJax](https://www.mathjax.org/)、[KaTex](https://katex.org/) - 支持 [Gitalk](https://github.com/gitalk/gitalk)、[Valine](https://valine.js.org/)、[Livere](https://livere.com/)、[Disqus](https://disqus.com/)、[Utterances](https://github.com/utterance/utterances) 评论 - 瀑布流式的[相册页面](https://liuyib.github.io/gallery/) - 内置[谷歌广告](https://www.google.cn/adsense/start/),一键开启 - 代码高亮,[多种配色](https://liuyib.github.io/hexo-theme-stun/zh-CN/advanced/advanced-setting.html#代码高亮)可选 - 好看的[背景特效](https://liuyib.github.io/hexo-theme-stun/zh-CN/advanced/third-part.html#ribbon) - 超详细[配置文档](https://liuyib.github.io/hexo-theme-stun/) ## :package: 安装 - 安装 «Stun» 进入 Hexo 根目录,执行指令: ```bash $ git clone https://github.com/liuyib/hexo-theme-stun.git themes/stun ``` - 安装依赖 `hexo-renderer-pug` 进入 Hexo 根目录,执行指令: ```bash $ npm install --save hexo-renderer-pug ``` ## :hammer: 使用 修改 Hexo 根目录下的 `_config.yml` 文件: ```yml theme: stun ``` 然后,启动 Hexo 服务器: ```bash $ hexo clean && hexo s ``` ## :art: 更新 ```bash $ cd themes/stun $ git pull ``` ## :page_facing_up: 文档 请查看:[https://liuyib.github.io/hexo-theme-stun/zh-CN/](https://liuyib.github.io/hexo-theme-stun/zh-CN/) ## :question: 问题 如果遇到问题,首先请仔细阅读[文档](https://liuyib.github.io/hexo-theme-stun/zh-CN/),或者查看[常见问题](https://github.com/liuyib/hexo-theme-stun/blob/master/FAQ.md)。当以上的方法都无法帮助你时,再去提出 `issue`:hugs:。 ## :handshake: 贡献 在提出 Pull request 之前,请务必先阅读[贡献指南](https://liuyib.github.io/hexo-theme-stun/zh-CN/contribute/contribute.html)。 感谢所有为 «Stun» 做出贡献的人! ## :computer: 浏览器支持 | IE
IE | Edge
Edge | Firefox
Firefox | Chrome
Chrome | Safari
Safari | Opera
Opera | | :---: | :---: | :---: |:---: | :---: | :---: | | Not Supported | 12+ | 41+ | 45+ | 10+ | 32+ | ## :page_with_curl: 开源协议 [MIT](https://github.com/liuyib/hexo-theme-stun/blob/master/LICENSE) Copyright (c) 2019-present liuyib [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fliuyib%2Fhexo-theme-stun.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fliuyib%2Fhexo-theme-stun?ref=badge_large)