Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Lux

A minimalism theme for Hexo forked from Light

Demo

Install

Execute the following command and modify theme in _config.yml to lux.

git clone https://github.com/brglng/hexo-theme-lux.git themes/lux

Update

Execute the following command to update Lux.

cd themes/lux
git pull

Config

Default config:

menu:
  Home: /
  Archives: /archives

baidu_share:
  enable: true

gitalk:
  enable: true

fancybox: true

rss:
  • menu - Main navigation menu
  • widget - Widgets displaying in sidebar
  • excerpt_link - "Read More" link text at the bottom of excerpted articles
  • baidu_share - Share buttons at the bottom of articles (Powered by Baidu Share)
    • enable - Enable share buttons
  • gitalk - Comment system powered by Gitalk
    • enable - Enable Gitalk comments
  • fancybox - Enable Fancybox
  • google_analytics - Google Analytics ID
  • baidu_analytics - Baidu Analytics ID
  • rss - RSS subscription link (change if using Feedburner)

Features

Baidu Share Support

In theme's _config.yml:

baidu_share:
  enable: true

Gitalk Support

In themes's _config.yml:

gitalk:
  enable: true

In site's _config.yml:

gitalk:
  client_id: <client ID>
  client_secret: <client secret>
  repo: <repo>
  owner: <owner>
  admin: <admin>
  distraction_free_mode: false

Googla Analytics and Baidu Statistics Support

In site's _config.yml:

google_analytics: <Google Analytics ID>
baidu_statistics: <Baidu Statistics ID>

Links Widget

In site's _config.yml:

links:
  Hexo: https://hexo.io
  Lux: https://github.com/brglng/hexo-theme-lux/

Google/Baidu Search Switcher

In the search widget, Google/Baidu can be selected

"Powered By" Information in Footer

In site's _config.yml:

powered_by:
  Hexo: https://hexo.io/
  Lux: https://github.com/brglng/hexo-theme-lux

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/
---

Fancybox

About

A minimalism theme for Hexo derived from hexo-theme-light. Demo:

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published