该主题是基于hexo默认主题hexo-theme-light的一个china适用版。
##改造点
- 去google服务、去facebook、去addthis等严重影响访问速度的服务,替换成百度分享、多说评论、百度统计等国内服务。
- 修改code、blockquote样式(不太适合中文)。
- 调整index布局文件。
##添加的新功能
- Header添加头像
- 添加新浪微博widgets
- 添加归档widgets
- 添加toTop(回到顶部)功能
- 添加toc(文章目录)功能
- 添加个人简历Layout
(待完成)
执行下面命令,然后修改_config.yml
配置文件中theme
为 light-ch
.
git clone https://github.com/pengloo53/light-ch themes/light-ch
cd themes/light-ch
git pull
默认:
menu:
首页: /
归档: /archives
widgets:
- search
- category
- tag
- tagcloud
excerpt_link: Read More
baidu_share: true
rss:
duoshuo:
enable: true
short_name: pengloo53
wumii:
enable: true
siteprefix: http://www.linux2me.com
baidu_share
百度分享duoshuo
多说评论wumii
无觅关联
---
layout: photo
title: Gallery Post
photos:
- http://i.minus.com/ibobbTlfxZgITW.jpg
- http://i.minus.com/iedpg90Y0exFS.jpg
---
---
layout: link
title: Link Post
link: http://www.google.com/
---