GithubHelp home page GithubHelp logo

joerong666 / hexo-theme-lightup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seanlook/hexo-theme-lightup

0.0 2.0 0.0 416 KB

Hexo theme improved on the basis of light

License: MIT License

HTML 0.69% CSS 69.29% JavaScript 30.02%

hexo-theme-lightup's Introduction

hexo-theme-lightup

Hexo theme improved on the basis of light.

Lightup

基于Hexo默认主题改进而来,给你史上最好用的light主题,具体效果见我的博客站点demo

Features

考虑默认google站内搜索大陆地区被墙, 使用见下方

  • 集成多说评论功能,增加最新评论widget

  • 集成百度分享功能

  • 集成swiftype第三方站内搜索,也可以配置使用wen.lu

  • 集成cnzz站长统计

  • 修改归档页的显示,加入所属标签和分类

  • 增加返回顶部和文章目录

  • 文章详情页加入上下分页

  • 文章顶部增加评论数显示

  • 加入站点地图(sitemap.xml)和订阅(atom.xml)功能

  • 去除多余不使用的功能,如google_analytics和share(twitter无法访问)

  • 跳转markdown的最终渲染效果,如引用

  • 文章更新日志,有写明updated: 2014-11-09 00:00:00的以这个为准,没有显示指定updated将以文件修改时间为准。

如果你需要用回官方addthis,请参照官方light主题。

https://github.com/xiangming/landscape-plus

Install

执行下面的命令将主题源码下载到您的theme目录,修改站点的_config.yml中的themelightup

git clone https://github.com/seanlook/hexo-theme-lightup.git themes/lightup

Config

Default config:

menu:
  Home: /
  Archives: /archives

widgets:
- search
- category
- tag
- twitter

excerpt_link: Read More

twitter:
  username:
  show_replies: false
  tweet_count: 5

addthis:
  enable: true
  pubid:
  facebook: true
  twitter: true
  google: true
  pinterest: true

fancybox: true

google_analytics:
rss:

大部分配置请参考官方light主题,下面是需要注意的地方:

  • links - 友情链接
  • duoshuo_shortname - 多说评论id
  • baidushare - 是否开启百度分享 ...

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

hexo-theme-lightup's People

Contributors

seanlook avatar

Watchers

 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.