A minimalism theme for Hexo forked from Light
Execute the following command and modify theme in _config.yml to lux.
git clone https://github.com/brglng/hexo-theme-lux.git themes/lux
Execute the following command to update Lux.
cd themes/lux
git pull
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)
In theme's _config.yml:
baidu_share:
enable: trueIn themes's _config.yml:
gitalk:
enable: trueIn site's _config.yml:
gitalk:
client_id: <client ID>
client_secret: <client secret>
repo: <repo>
owner: <owner>
admin: <admin>
distraction_free_mode: falseIn site's _config.yml:
google_analytics: <Google Analytics ID>
baidu_statistics: <Baidu Statistics ID>In site's _config.yml:
links:
Hexo: https://hexo.io
Lux: https://github.com/brglng/hexo-theme-lux/In the search widget, Google/Baidu can be selected
In site's _config.yml:
powered_by:
Hexo: https://hexo.io/
Lux: https://github.com/brglng/hexo-theme-lux---
layout: photo
title: Gallery Post
photos:
- http://i.minus.com/ibobbTlfxZgITW.jpg
- http://i.minus.com/iedpg90Y0exFS.jpg
---
---
layout: link
title: Link Post
link: http://www.google.com/
---

