WARNING: The project is deprecated, please do not use it. You can try NexT that is maintains actively, good luck.
If you plan to use «Stun» theme for a long time and want to show it here, you just need to modify the README_en-US to fill in your website and submit PR.
- Simple & Fast & Easy to Use & Highly Customizable
- Responsive design
- Secondary navigation menu
- Support image lazy loading
- Support Pjax
- Support PWA
- Support Fancybox
- Support Quicklink
- Support MathJax、KaTex
- Support Gitalk、Valine、Livere、Disqus、Utterances comments
- Album page of waterfall streaming
- Built-in Google ads
- Multiple code highlighting themes
- Beautiful background effects
- Detailed documentation
-
Install
Stun
Enter your hexo directory, run this:
$ git clone https://github.com/liuyib/hexo-theme-stun.git themes/stun
This command will clone all the files in this repository, many of which are only used for project development and are not used by ordinary users at all. Therefore, if you want to clone only the files necessary for the theme to run, please use the following command instead of the above command:
$ git clone -b dist https://github.com/liuyib/hexo-theme-stun.git themes/stun
Note: It is not convenient to update in the future, please use with caution.
-
Install dependency
hexo-renderer-pug
Enter your hexo directory, run this:
$ npm install --save hexo-renderer-pug
Change the _config.yml
file in your hexo root directory:
theme: stun
Run your hexo server:
$ hexo clean && hexo s
$ cd themes/stun
$ git pull
Below are some document mirrors (they are fully synchronized), and you can access any one of them.
- Github Pages: https://theme-stun.github.io/docs/
- Gitee Pages: https://theme-stun.gitee.io/docs/
If you have problems, please read documentation firstly, or check FAQ. You can open an issue
when the above methods can't help you 🤗.
Please make sure to read the Contributing Guide before making a pull request.
Thank you to all the people who have already contributed to «Stun»!
IE |
Edge |
Firefox |
Chrome |
Safari |
Opera |
---|---|---|---|---|---|
Not Supported | 12+ | 41+ | 45+ | 10+ | 32+ |
MIT Copyright (c) 2019-present liuyib