https://github.com/chrisyip/hexo-theme-slash
https://github.com/chrisyip/hexo-theme-slash
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/chrisyip/hexo-theme-slash
- Owner: chrisyip
- License: mit
- Created: 2013-04-17T14:24:07.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-05-22T18:14:28.000Z (about 13 years ago)
- Last Synced: 2025-02-17T06:41:32.410Z (over 1 year ago)
- Language: JavaScript
- Size: 363 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Light
Default theme for [Hexo].
## Install
Execute the following command and modify `theme` in `_config.yml` to `light`.
```
git clone git://github.com/tommy351/hexo-theme-light.git themes/light
```
## Update
Execute the following command to update Light.
```
cd themes/light
git pull
```
## Config
Default config:
``` yaml
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:
```
- **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
- **addthis** - Share buttons at the buttom of articles (Powered by [AddThis])
- **enable** - Enable share buttons
- **pubid** - Profile ID of [AddThis]
- **facebook** - Enable Facebook button
- **twitter** - Enable Twitter button
- **google** - Enable Google+ button
- **pinterest** - Enable Pinterest button
- **fancybox** - Enable [Fancybox]
- **google_analytics** - Google Analytics ID
- **rss** - RSS subscription link (change if using Feedburner)
## 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]: http://zespia.tw/hexo/
[AddThis]: https://www.addthis.com
[Fancybox]: http://fancyapps.com/fancybox/