Yet, just another blog theme for Hexo, based on hexo-theme-apollo.
- LiveRe comment service support.
- Code highlight.
- Built-in hexo-tag-cloud support.
- More comfortable with large screens.
You can see from here: mikecoder.github.io/oj-code
# cd to your hexo dir
npm install
npm install --save hexo-renderer-jade hexo-generator-feed hexo-generator-sitemap hexo-browsersync hexo-generator-archive hexo-tag-cloud
git clone https://github.com/MikeCoder/hexo-theme-gandalfr.git themes/gandalfr
cd themes/gandalfr
cp _config.yml.example _config.yml
# modify the config file by yourself
This theme depends on hexo-tag-cloud. You should install this plugin first.
You can see from Here to learn how to install hexo-tag-cloud.
modify _config.yml
to change theme
to gandalfr
:
theme: gandalfr
# Dependent on the hexo-generator-archive plugin
archive_generator:
per_page: 0
yearly: false
monthly: false
daily: false
modify _config.yml
to change the codestyle block:
# Styles shoule be found in the list: https://highlightjs.org/static/demo/
# use the lowercase letters and replace space with -
codestyle: solarized-light
cd themes/gandalfr
git pull
See @LICENSE
See @TODO.md