Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hexojs/hexo-theme-light
A simple theme for Hexo
https://github.com/hexojs/hexo-theme-light
hexo hexo-theme
Last synced: 4 months ago
JSON representation
A simple theme for Hexo
- Host: GitHub
- URL: https://github.com/hexojs/hexo-theme-light
- Owner: hexojs
- License: mit
- Created: 2012-10-06T13:35:17.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-04-08T15:07:17.000Z (10 months ago)
- Last Synced: 2024-05-20T09:18:08.320Z (9 months ago)
- Topics: hexo, hexo-theme
- Language: Stylus
- Homepage: https://hexojs.github.io/hexo-theme-light/
- Size: 12 MB
- Stars: 317
- Watchers: 32
- Forks: 178
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hexo-themes - hexojs/hexo-theme-light
README
# Light
A simple theme for [Hexo].
## Install
Execute the following command and modify `theme` in `_config.yml` to `light`.
```
git clone --depth 1 https://github.com/hexojs/hexo-theme-light themes/light
`````` diff
_config.yml
- theme: some-theme
+ theme: light
```## Update
Execute the following command to update Light.
```
cd themes/light
git pull
```## Config
Default config:
``` yaml
menu:
Home: /
Archives: /archiveswidgets:
- search
- category
- tagexcerpt_link: Read More
twitter:
username:
show_replies: false
tweet_count: 5fancybox: true
google_analytics:
rss:
```- **menu** - Main navigation menu
- **widget** - Widgets displaying in sidebar
- **excerpt_link** - "Read More" link text at the bottom of excerpted articles
- **twitter** - Twitter widget config
- **username** - Twitter username
- **show_replies** - Enable displaying replies
- **tweet_count** - Tweets display in widget
- **fancybox** - Enable [Fancybox]
- **google_analytics** - Google Analytics ID
- **rss** - RSS subscription link (change if using Feedburner)## Features
### Gallery Post
![Gallery Post](https://raw.githubusercontent.com/hexojs/hexo-theme-light/site/source/screenshots/gallery-post.gif)
```
---
layout: photo
title: Gallery Post
photos:
- https://i.postimg.cc/c49xRqRP/1.jpg
- https://i.postimg.cc/288jLjZ4/2.jpg
- https://i.postimg.cc/T2cYP5pd/3.jpg
---
```### Link Post
![Link Post](https://raw.githubusercontent.com/hexojs/hexo-theme-light/site/source/screenshots/link-post.gif)
```
---
layout: link
title: Link Post
link: http://www.google.com/
---
```### Tweet Widget
![Tweet Widget](https://raw.githubusercontent.com/hexojs/hexo-theme-light/site/source/screenshots/tweet-widget.gif)
### Fancybox
![Fancybox](https://raw.githubusercontent.com/hexojs/hexo-theme-light/site/source/screenshots/fancybox.gif)
[Hexo]: http://zespia.tw/hexo/
[Fancybox]: http://fancyapps.com/fancybox/