Just another theme for Hexo, modified based on Light.
Execute the following command and modify theme
in _config.yml
to GreenLight
.
git clone https://github.com/qwong/hexo-theme-green-light.git themes/GreenLight
Execute the following command to update Light.
cd themes/GreenLight
git pull
See theme light config.
自用Hexo博客主题, 基于官方主题Light修改.
在线预览
主要有以下改动:
- 修改: 部分样式
- 新增: 文章上下篇链接
- 新增: 多说评论插件
- 新增: 百度分享插件
- 新增: 百度统计插件
参考light主题配置, 另外以下几项特殊配置:
-
多说评论插件
- 主题_config.yml配置文件启用多说评论插件, 新增配置项: duoshuo: true
- 博客_config.yml配置文件新增配置项: duoshuo: ${你的多说ID}
-
百度分享插件
主题_config.yml配置文件启用百度分享插件, 新增配置项: baidushare: true -
百度统计插件
- 主题_config.yml配置文件启用百度统计插件, 新增配置项: baidutongji: true
- 博客_config.yml配置文件新增配置项: baidutongji: ${你的百度统计ID}
-
Google analytics插件
- 主题_config.yml配置文件启用Google analytics插件, 新增配置项: google_analytics: true
- 博客_config.yml配置文件新增配置项: google_analytics: ${你的Google analyticsID}
本人非专业前端, 样式也是用Chrome F12一点一点抠出来改的.
二期修改参考了这个主题, 他也是参考我原来的主题修改的 :-)