A simple and blue style theme based on Hexo 3.8.0. Demo
1.Using Stylus as css preprocessor and ejs as template engine
2.Support zh-CN and en by default
3.Support both PC and mobile
- Clone this theme into the
themes
folder under your blog project directory.
cd themes
git clone https://github.com/Chorer/hexo-theme-PureBlue.git`
- Modify the site
_config.yml
,it should look like this:
themes: hexo-theme-PureBlue
cd themes/hexo-theme-PureBlue
git pull`
For code highlighting:
- Make sure you have disable the
highlight
in the site_config.yml
. And then install the hexo-prism-plugin.Check the link for more details.
For wordcount:
- Make sure you have enable the
word_count
in the site_config.yml
. And then install the hexo-wordcount.Check the link for more details.
For sharing:
-
Make sure you have enable the
Addthis
in the theme_config.yml
.And then fill in your own pubid which you have acquired in Addthis.Remember that you don't need to install any plugin for this feature.
For comments:
-
Make sure you have enable the
valine
in the theme_config.yml
.And then fill in your own appid and appkey which you have acquired in LeanCloud. Check valine docs for more details.Remember that you don't need to install any plugin for this feature.
You can check the site _config.yml
file for more configurations.
- Add the category page
- Support TOC
- Support fancybox
- Support the third-party comment plugin
- Support the third-party share plugin
- Support website statistics
- Completely using vanilla JavaScript instead of jQuery
- Support responsive design
- Mobile adaptation
- Support the codequote highlight
2019.5.29
- Totally change the css styling
2019.3.31
- Rewirte the paginator and optimize the code
- Add some icons with font-awesome
- Highlight the title in the TOC
2019.3.30
- Refer all js files in one ejs file
- Change the style of scrollbar
- Display total counts of categories,tags and posts
- Fix the bug that the tags will twinkle once touched
2019.3.29
- Add support for fancybox
2019.3.27
- Fix the bug that the category page can't display
- Improve the navbar
2019.3.25
- Change css for a more flat style.
- Give a star if you like , fork or just clone to use , and also you can help me fix bugs and add new feature :)
- If you have any problem or requirement , just open an issue here and i will help you.
- Will not support IE6, 7, 8.