diff --git a/layout/_common/head.ejs b/layout/_common/head.ejs
index 42b61149..99f9179d 100644
--- a/layout/_common/head.ejs
+++ b/layout/_common/head.ejs
@@ -1,66 +1,66 @@
-
- <% if (theme.douban.user && page.layout === 'books') { %>
-
- <% } %>
-
-
-
-
-
-
-
-
-
-
-
-
- <% if (theme.plugins.google_site_verification) { %>
-
- <% } %>
- <%
- var title = page.title;
+
+ <% if (theme.douban.user && page.layout === 'books') { %>
+
+ <% } %>
+
+
+
+
+
+
+
+
+
+
+
+
+ <% if (theme.plugins.google_site_verification) { %>
+
+ <% } %>
+ <%
+ var title = page.title;
- if (is_archive()){
- title = __('page.archive');
+ if (is_archive()){
+ title = __('page.archive');
- if (is_month()){
- title += ': ' + page.year + '/' + page.month;
- } else if (is_year()){
- title += ': ' + page.year;
+ if (is_month()){
+ title += ': ' + page.year + '/' + page.month;
+ } else if (is_year()){
+ title += ': ' + page.year;
+ }
+ } else if (is_category()){
+ title = __('page.category') + ': ' + page.category;
+ } else if (is_tag()){
+ title = __('page.tag') + ': ' + page.tag;
}
- } else if (is_category()){
- title = __('page.category') + ': ' + page.category;
- } else if (is_tag()){
- title = __('page.tag') + ': ' + page.tag;
- }
- %>
- <% if (title) { %><%= title %> | <% } %><%= theme.site.title || config.title %>
- <%- open_graph({
- twitter_id: theme.twitter,
- google_plus: theme.google_plus,
- fb_admins: theme.fb_admins,
- fb_app_id: theme.fb_app_id
- }) %>
-
-
- <% if (theme.rss){ %>
-
- <% } %>
- <% if (theme.site.favicon){ %>
-
- <% } %>
- <%- css('css/style') %>
- <% if (page.mathjax) { %>
-
- <% } %>
- <% if (theme.comment.type === 'gitment' && !is_home() && !is_category() && !is_tag() && !is_archive() && post.comments) { %>
-
- <% } %>
- <% if (theme.fancybox) { %>
-
- <% } %>
- <% if (theme.comment.type === 'gitalk') { %>
-
- <% } %>
+ %>
+ <% if (title) { %><%= title %> | <% } %><%= theme.site.title || config.title %>
+ <%- open_graph({
+ twitter_id: theme.twitter,
+ google_plus: theme.google_plus,
+ fb_admins: theme.fb_admins,
+ fb_app_id: theme.fb_app_id
+ }) %>
+
+
+ <% if (theme.rss){ %>
+
+ <% } %>
+ <% if (theme.site.favicon){ %>
+
+ <% } %>
+ <%- css('css/style') %>
+ <% if (page.mathjax) { %>
+
+ <% } %>
+ <% if (theme.comment.type === 'gitment' && !is_home() && !is_category() && !is_tag() && !is_archive() && post.comments) { %>
+
+ <% } %>
+ <% if (theme.fancybox) { %>
+
+ <% } %>
+ <% if (theme.comment.type === 'gitalk') { %>
+
+ <% } %>