Giter Site home page Giter Site logo

hexo-theme-light_cn's Introduction

Hexo-theme-light_cn(Hexo主题)

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

Demo

##Release 1.2 主要做了下列修改:

  1. 整体风格更加简洁,修改多处页面细节,符合响应式设计;
  2. 修改文章显示宽度,main-col宽度改成760px(文章一行不宜过长);
  3. 添加了不蒜子计数器
  4. 设计个人简历页面,Demo

Release 1.1

改变了light主题的header样式以及整体着色。开始有别于原light主题的风格。

Release 1.0

主要改造点:

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

添加的新功能:

  1. Header添加头像,并添加增大动画效果
  2. 添加新浪微博widgets
  3. 添加归档widgets
  4. 添加toTop(回到顶部)功能
  5. 添加toc(文章目录)功能
  6. 添加个人简历Layout(便于设计自己的页面)
  7. 实现多级分类
  8. 添加gallery Layout

安装

执行下面命令,然后修改_config.yml配置文件中themelight-ch.

git clone https://github.com/pengloo53/light-ch themes/light-ch

更新主题

cd themes/light-ch
git pull

配置

默认:

menu:
  首页: /
#  文集: /collection
#  图集: /gallery
  归档: /archives
  分类: /index.html#categories
  关于我: /resume

submenu:
  订阅: /atom.xml
  留言: /customization

widgets:
#- search
- category
- archive
# - tag
- tagcloud
- weibo

excerpt_link: Read More
comment_link: Comments

# header头像
avatar: /assets/img/avatar/avatar.jpg
# header右侧图片展示
ad: /assets/img/avatar/hello.jpg

baidu_share: true

# 请到baidu_tongji.ejs中替换代码
baidu_tongji: true

# enable是否开启;height小挂件高度;url替换成自己的微博挂件地址,同步修改url中height的值
weibo:
  enable: true
  height: 800
  url: Your weibo url

# 评论提供可以选择 duoshuo 或者 wumii,无需评论,此处不填就行。
comment_provider: duoshuo

duoshuo:
  short_name: Your duoshuo

wumii: 
  relateditems: true
  siteprefix: Your site url
  • avatar 头像URL
  • baidu_share 百度分享
  • weibo 新浪微博
  • 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/
---

hexo-theme-light_cn's People

Contributors

pengloo53 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.