Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
*.swp
.DS_Store
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ fancybox: true

google_analytics:
rss:

comment_provider: facebook
facebook:
appid: 012345012345
comment_count: 5
comment_width: 840
comment_colorscheme: light
```

- **menu** - Main navigation menu
Expand All @@ -72,12 +79,16 @@ rss:
- **fancybox** - Enable [Fancybox]
- **google_analytics** - Google Analytics ID
- **rss** - RSS subscription link (change if using Feedburner)

- **comment_provider** - "facebook" (to enable Facebook comments)
- **appid** - Facebook AppId (from developer tools)
- **comment_count** - Number of commends to show
- **comment_width** - Width of comment box in pixels
- **comment_colorscheme** - Color scheme

## Features

### Gallery Post

![](http://i.minus.com/ibp6Hbytwgof9y.jpg)

```
---
Expand All @@ -91,8 +102,6 @@ photos:

### Link Post

![](http://i.minus.com/i7hBbGqh14EWo.png)

```
---
layout: link
Expand All @@ -103,12 +112,10 @@ link: http://www.google.com/

### Tweet Widget

![](http://i.minus.com/iMC8EyF9y0Y3y.PNG)

### Fancybox

![](http://i.minus.com/iHv7h7rZNqHvo.PNG)

[Hexo]: http://zespia.tw/hexo/
[Hexo]: http://hexo.io
[AddThis]: https://www.addthis.com
[Fancybox]: http://fancyapps.com/fancybox/
[Fancybox]: http://fancyapps.com/fancybox/
8 changes: 4 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ widgets:
- search
- category
- tag
- twitter

excerpt_link: Read More

Expand All @@ -27,10 +28,9 @@ fancybox: true
google_analytics:
rss:

comment_provider: facebook
# Facebook comment
# comment_provider: facebook
facebook:
appid: 123456789012345
appid: 012345012345
comment_count: 5
comment_width: 840
comment_colorscheme: light
comment_colorscheme: light
12 changes: 12 additions & 0 deletions languages/en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
categories: Categories
search: Search
tags: Tags
tagcloud: Tag Cloud
tweets: Tweets
prev: Prev
next: Next
comment: Comments
archive_a: Archives
archive_b: "Archives: %s"
page: Page %d
recent_posts: Recent Posts
4 changes: 3 additions & 1 deletion layout/_partial/article.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<a href="<%- config.root %><%- item.path %>#more" class="more-link"><%= theme.excerpt_link %></a>
</div>
<% } %>
<% if (item.comment && config.disqus_shortname){ %>
<% if (item.comments && config.disqus_shortname){ %>
<div class="alignright">
<a href="<%- item.permalink %>#disqus_thread" class="comment-link">Comments</a>
</div>
Expand All @@ -39,4 +39,6 @@
</div>
</article>

<% if (item.comments && (config.disqus_shortname || theme.comment_provider == "facebook")){ %>
<%- partial('comment') %>
<% } %>