├── LICENSE
├── README.md
├── _config.yml
├── languages
├── de.yml
├── default.yml
├── ru.yml
├── zh-CN.yml
└── zh-TW.yml
├── layout
├── _partial
│ ├── after_footer.ejs
│ ├── archive.ejs
│ ├── article.ejs
│ ├── comment.ejs
│ ├── footer.ejs
│ ├── google_analytics.ejs
│ ├── head.ejs
│ ├── header.ejs
│ ├── math-jax.ejs
│ ├── pagination.ejs
│ ├── post
│ │ ├── articlenav.ejs
│ │ ├── category.ejs
│ │ ├── gallery.ejs
│ │ ├── share.ejs
│ │ ├── tag.ejs
│ │ └── title.ejs
│ └── sidebar.ejs
├── _widget
│ ├── category.ejs
│ ├── intro.ejs
│ ├── rss.ejs
│ ├── search.ejs
│ ├── tag.ejs
│ ├── tagcloud.ejs
│ ├── twitter.ejs
│ └── weibo.ejs
├── archive.ejs
├── category.ejs
├── index.ejs
├── layout.ejs
├── page.ejs
├── post.ejs
└── tag.ejs
└── source
├── css
├── _base
│ ├── layout.styl
│ ├── utils.styl
│ └── variable.styl
├── _partial
│ ├── archive.styl
│ ├── article.styl
│ ├── comment.styl
│ ├── footer.styl
│ ├── header.styl
│ ├── index.styl
│ ├── sidebar.styl
│ └── syntax.styl
├── font
│ ├── fontawesome-webfont.eot
│ ├── fontawesome-webfont.svg
│ ├── fontawesome-webfont.ttf
│ └── fontawesome-webfont.woff
└── style.styl
├── fancybox
├── blank.gif
├── fancybox_loading.gif
├── fancybox_loading@2x.gif
├── fancybox_overlay.png
├── fancybox_sprite.png
├── fancybox_sprite@2x.png
├── jquery.fancybox.css
└── jquery.fancybox.pack.js
├── imgs
├── 11zhexo.svg
└── noise.png
└── js
├── gallery.js
└── jquery.imagesloaded.min.js
/LICENSE:
--------------------------------------------------------------------------------
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:
--------------------------------------------------------------------------------
1 | # Lightum
2 |
3 | This is the theme I currently use for [Hexo](http://hexo.io/). It is based on [Light](https://github.com/hexojs/hexo-theme-light). See my blog as a [Demo](http://zipperary.com/).
4 |
5 | For clarity, I leave all my settings unchanged. So you are suggested to modify the theme as you need.
6 |
7 | ## Install
8 |
9 | Execute the following command and modify `theme` in `_config.yml` to `lightum`.
10 |
11 | ```
12 | git clone https://github.com/zippera/lightum.git themes/lightum
13 | ```
14 |
15 | ## Update
16 |
17 | Execute the following command to update Light.
18 |
19 | ```
20 | cd themes/lightum
21 | git pull
22 | ```
23 |
24 | ## Customization
25 |
26 | - **About**: [FYI](http://zipperary.com/2013/05/30/hexo-guide-4/). Edit this file to add your information.
27 | - **RSS**: [FYI](http://zipperary.com/2013/06/02/hexo-guide-5/)
28 | - **Intro**: Go to `layout/_widget/intro.ejs` and add your information.
29 | - **Weibo**: Go to `layout/_widget/weibo.ejs` and add your weibo configuration. [FYI](http://zipperary.com/2013/05/30/hexo-guide-4/)
30 | - **Fork me on Github**: Go to `layout/layout.ejs` and change the Github username to yours. Replace the src URL of the `` with your own, which I recommend qiniu or the `source` dir under the `hexo` dir.
31 |
--------------------------------------------------------------------------------
/_config.yml:
--------------------------------------------------------------------------------
1 | menu:
2 | 首页: /
3 | 归档: /archives
4 | 关于: /about
5 | 工具: /tools
6 |
7 |
8 | widgets:
9 | - search
10 | - category
11 | - intro
12 | - weibo
13 |
14 | excerpt_link: 阅读全文
15 |
16 | plugins:
17 | - hexo-generator-feed
18 |
19 | twitter:
20 | username:
21 | show_replies: false
22 | tweet_count: 5
23 |
24 | addthis:
25 | enable: true
26 | pubid:
27 | facebook: true
28 | twitter: true
29 | google: true
30 | pinterest: true
31 |
32 | fancybox: true
33 |
34 | google_analytics: UA-41207871-1
35 | rss: http://zipperary.com/atom.xml
36 |
--------------------------------------------------------------------------------
/languages/de.yml:
--------------------------------------------------------------------------------
1 | categories: Kategorien
2 | search: Suche
3 | tags: Tags
4 | tagcloud: Tag-Cloud
5 | tweets: Tweets
6 | prev: "Vorherige Seite"
7 | next: "Nächste Seite"
8 | comment: Kommentare
9 | archive_a: Archiv
10 | archive_b: "Archiv: %s"
11 | page: "Seite %d"
12 | recent_posts: "Neueste Artikel"
13 |
--------------------------------------------------------------------------------
/languages/default.yml:
--------------------------------------------------------------------------------
1 | categories: Categories
2 | search: Search
3 | tags: Tags
4 | tagcloud: "Tag Cloud"
5 | tweets: Tweets
6 | prev: Prev
7 | next: Next
8 | comment: Comments
9 | archive_a: Archives
10 | archive_b: "Archives: %s"
11 | page: "Page %d"
12 | recent_posts: "Recent Posts"
13 |
--------------------------------------------------------------------------------
/languages/ru.yml:
--------------------------------------------------------------------------------
1 | categories: Категории
2 | search: Поиск
3 | tags: Метки
4 | tagcloud: "Облако меток"
5 | tweets: Твиты
6 | prev: Назад
7 | next: Вперед
8 | comment: Комментарии
9 | archive_a: Архив
10 | archive_b: "Архив: %s"
11 | page: "Страница %d"
12 |
--------------------------------------------------------------------------------
/languages/zh-CN.yml:
--------------------------------------------------------------------------------
1 | categories: 分类
2 | search: 搜索
3 | tags: 标签
4 | tagcloud: 标签云
5 | tweets: 推文
6 | prev: 上一页
7 | next: 下一页
8 | comment: 留言
9 | archive_a: 归档
10 | archive_b: "归档:%s"
11 | page: "第 %d 页"
12 | recent_posts: 最新文章
13 |
--------------------------------------------------------------------------------
/languages/zh-TW.yml:
--------------------------------------------------------------------------------
1 | categories: 分類
2 | search: 搜尋
3 | tags: 標籤
4 | tagcloud: 標籤雲
5 | tweets: 推文
6 | prev: 上一頁
7 | next: 下一頁
8 | comment: 留言
9 | archive_a: 彙整
10 | archive_b: "彙整:%s"
11 | page: "第 %d 頁"
12 | recent_posts: 最新文章
13 |
--------------------------------------------------------------------------------
/layout/_partial/after_footer.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | <% if (config.disqus_shortname){ %>
6 |
17 | <% } %>
18 |
19 | <% if (theme.fancybox){ %>
20 |
21 |
22 |
27 | <% } %>
28 |
--------------------------------------------------------------------------------
/layout/_partial/archive.ejs:
--------------------------------------------------------------------------------
1 | <%
2 | var title = '';
3 | if (page.category) title = page.category;
4 | if (page.tag) title = page.tag;
5 | if (page.archive){
6 | if (page.year) title = page.year + (page.month ? '/' + page.month : '');
7 | else title = __('archive_a');
8 | }
9 | %>
10 |
The requested content cannot be loaded.
Please try again later.