https://github.com/brglng/hexo-theme-lux
A minimalism theme for Hexo derived from hexo-theme-light. Demo:
https://github.com/brglng/hexo-theme-lux
Last synced: 3 months ago
JSON representation
A minimalism theme for Hexo derived from hexo-theme-light. Demo:
- Host: GitHub
- URL: https://github.com/brglng/hexo-theme-lux
- Owner: brglng
- License: other
- Created: 2015-11-10T08:12:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-12-27T14:16:38.000Z (over 6 years ago)
- Last Synced: 2025-01-21T06:11:32.827Z (5 months ago)
- Language: CSS
- Homepage: https://sololand.moe
- Size: 736 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lux
A minimalism theme for [Hexo] forked from [Light](https://github.com/hexojs/hexo-theme-light)
[Demo](http://sololand.moe)
## 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:
``` yaml
menu:
Home: /
Archives: /archivesbaidu_share:
enable: truegitalk:
enable: truefancybox: 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`:
```yaml
baidu_share:
enable: true
```### Gitalk Support
In *themes's* `_config.yml`:
```yaml
gitalk:
enable: true
```In *site's* `_config.yml`:
```yaml
gitalk:
client_id:
client_secret:
repo:
owner:
admin:
distraction_free_mode: false
```### Googla Analytics and Baidu Statistics Support
In *site's* `_config.yml`:
```yaml
google_analytics:
baidu_statistics:
```### _Links_ Widget
In *site's* `_config.yml`:
```yaml
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`:
```yaml
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

[Hexo]: http://zespia.tw/hexo/
[AddThis]: https://www.addthis.com
[Fancybox]: http://fancyapps.com/fancybox/