https://github.com/pengloo53/Hexo-theme-light_cn
The Hexo theme base on hexo-theme-light, Write a little book about hexo.
https://github.com/pengloo53/Hexo-theme-light_cn
hexo-theme hexo-theme-light
Last synced: 3 months ago
JSON representation
The Hexo theme base on hexo-theme-light, Write a little book about hexo.
- Host: GitHub
- URL: https://github.com/pengloo53/Hexo-theme-light_cn
- Owner: pengloo53
- License: mit
- Created: 2015-04-29T16:42:29.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-10-27T07:43:39.000Z (over 3 years ago)
- Last Synced: 2024-05-20T09:21:09.875Z (about 1 year ago)
- Topics: hexo-theme, hexo-theme-light
- Language: JavaScript
- Homepage: https://github.com/pengloo53/hexo-little-book
- Size: 1.92 MB
- Stars: 66
- Watchers: 8
- Forks: 77
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hexo-themes - pengloo53/Hexo-theme-light_cn - theme-light, Write a little book about hexo.|67| (Content)
README
# Hexo-theme-light_cn(Hexo主题)
> 该主题基于hexo默认主题[hexo-theme-light](https://github.com/hexojs/hexo-theme-light),最初修改为了适用`墙内`用户,后来逐渐形成自己的风格。
[Demo](https://serverless-page-bucket-xyt1gs3f-1252176826.cos-website.ap-hongkong.myqcloud.com/)
## Release 2.0
折腾了太长时间的主题,而忘了初心,我们是为了去写、去记录、去分享,才搭建的博客。太多的东西都是多余的。
希望进一步精简主题,只保留**写作**该有的东西。1. 精简代码,免费的永远是最贵的去除多余的服务(大部分的免费的服务已经停止,所以说天下没有免费的午餐,再投入精力找类似免费的服务非常不值得);
2. 调整部分样式;
## Release 1.3
添加一些功能模块:1. 集成推荐模块,百度推荐以及wumii推荐供选择
2. 添加多说近期评论
3. 添加日历云插件修改手机界面Header样式:

## Release 1.2
主要做了下列修改:1. 整体风格更加简洁,修改多处页面细节,符合响应式设计;
2. 修改文章显示宽度,main-col宽度改成760px(文章一行不宜过长);
3. 添加了[不蒜子计数器](http://service.ibruce.info/);
4. 设计个人简历页面,[Demo](http://pengloo53.coding.me/resume/);
## Release 1.1
改变了light主题的header样式以及整体着色。开始有别于原light主题的风格。
## Release 1.0
> 主要改造点:
1. 去google服务、去facebook、去addthis等严重影响访问速度的服务,替换成百度分享、多说评论、百度统计等国内服务。
2. 修改code、blockquote样式(不太适合中文)。
3. 调整index布局文件。> 添加的新功能:
1. Header添加头像,并添加增大动画效果
2. 添加新浪微博widgets
2. 添加归档widgets
3. 添加toTop(回到顶部)功能
4. 添加toc(文章目录)功能
5. 添加个人简历Layout(便于设计自己的页面)
6. 实现多级分类
7. 添加gallery Layout## 安装
执行下面命令,然后修改`_config.yml`配置文件中`theme`为 `light-ch`.
```
git clone https://github.com/pengloo53/light-ch themes/light-ch
```## 更新主题
```
cd themes/light-ch
git pull
```## 配置
默认:
```yml
menu:
首页: /
# 文集: /collection
归档: /archives
关于我: /resumesubmenu:
订阅: /atom.xml
留言: /customizationwidgets:
- search
- category
- calendar
- recent_comments
- links
- tagcloud
# - tag
# - archiveexcerpt_link: Read More
comment_link: Comments# header头像
avatar: /img/default/avatar.png
# header右侧图片展示
ad:# 百度分享
baidu_share: true# 请到baidu_tongji.ejs中替换代码
baidu_tongji: true# height小挂件高度;url替换成自己的微博挂件地址,同步修改url中height的值
weibo:
height: 400
url:# Calendar
calendar:
language: zh-CN
root: calendar
```## 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/
---
```