Skip to content

Commit 184cee5

Browse files
committedJan 4, 2015
--wip--
0 parents  commit 184cee5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+2306
-0
lines changed
 

‎LICENSE

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright (c) 2012 Tommy Chen
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

‎README.md

+114
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
# Light
2+
3+
Default theme for [Hexo].
4+
5+
## Install
6+
7+
Execute the following command and modify `theme` in `_config.yml` to `light`.
8+
9+
```
10+
git clone git://github.com/tommy351/hexo-theme-light.git themes/light
11+
```
12+
13+
## Update
14+
15+
Execute the following command to update Light.
16+
17+
```
18+
cd themes/light
19+
git pull
20+
```
21+
22+
## Config
23+
24+
Default config:
25+
26+
``` yaml
27+
menu:
28+
Home: /
29+
Archives: /archives
30+
31+
widgets:
32+
- search
33+
- category
34+
- tag
35+
- twitter
36+
37+
excerpt_link: Read More
38+
39+
twitter:
40+
username:
41+
show_replies: false
42+
tweet_count: 5
43+
44+
addthis:
45+
enable: true
46+
pubid:
47+
facebook: true
48+
twitter: true
49+
google: true
50+
pinterest: true
51+
52+
fancybox: true
53+
54+
google_analytics:
55+
rss:
56+
```
57+
58+
- **menu** - Main navigation menu
59+
- **widget** - Widgets displaying in sidebar
60+
- **excerpt_link** - "Read More" link text at the bottom of excerpted articles
61+
- **twitter** - Twitter widget config
62+
- **username** - Twitter username
63+
- **show_replies** - Enable displaying replies
64+
- **tweet_count** - Tweets display in widget
65+
- **addthis** - Share buttons at the buttom of articles (Powered by [AddThis])
66+
- **enable** - Enable share buttons
67+
- **pubid** - Profile ID of [AddThis]
68+
- **facebook** - Enable Facebook button
69+
- **twitter** - Enable Twitter button
70+
- **google** - Enable Google+ button
71+
- **pinterest** - Enable Pinterest button
72+
- **fancybox** - Enable [Fancybox]
73+
- **google_analytics** - Google Analytics ID
74+
- **rss** - RSS subscription link (change if using Feedburner)
75+
76+
## Features
77+
78+
### Gallery Post
79+
80+
![](http://i.minus.com/ibp6Hbytwgof9y.jpg)
81+
82+
```
83+
---
84+
layout: photo
85+
title: Gallery Post
86+
photos:
87+
- http://i.minus.com/ibobbTlfxZgITW.jpg
88+
- http://i.minus.com/iedpg90Y0exFS.jpg
89+
---
90+
```
91+
92+
### Link Post
93+
94+
![](http://i.minus.com/i7hBbGqh14EWo.png)
95+
96+
```
97+
---
98+
layout: link
99+
title: Link Post
100+
link: http://www.google.com/
101+
---
102+
```
103+
104+
### Tweet Widget
105+
106+
![](http://i.minus.com/iMC8EyF9y0Y3y.PNG)
107+
108+
### Fancybox
109+
110+
![](http://i.minus.com/iHv7h7rZNqHvo.PNG)
111+
112+
[Hexo]: http://zespia.tw/hexo/
113+
[AddThis]: https://www.addthis.com
114+
[Fancybox]: http://fancyapps.com/fancybox/

0 commit comments

Comments
 (0)