Skip to content

kiwenlau/light-ch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

light-ch(Hexo主题)

该主题是基于hexo默认主题hexo-theme-light的一个china适用版。

Demo

##改造点

  1. 去google服务、去facebook、去addthis等严重影响访问速度的服务,替换成百度分享、多说评论、百度统计等国内服务。
  2. 修改code、blockquote样式(不太适合中文)。
  3. 调整index布局文件。

##添加的新功能

  1. Header添加头像
  2. 添加新浪微博widgets
  3. 添加归档widgets
  4. 添加toTop(回到顶部)功能
  5. 添加toc(文章目录)功能
  6. 添加个人简历Layout(待完成)

安装

执行下面命令,然后修改_config.yml配置文件中themelight-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 无觅关联

Features

Gallery Post

---
layout: photo
title: Gallery Post
photos:
- http://i.minus.com/ibobbTlfxZgITW.jpg
- http://i.minus.com/iedpg90Y0exFS.jpg
---

Link Post

---
layout: link
title: Link Post
link: http://www.google.com/
---

Tweet Widget

Fancybox

About

The Hexo theme base on hexo-theme-light

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 91.7%
  • JavaScript 8.3%