diff --git a/_config.yml b/_config.yml index e8f5644..3cc14fb 100755 --- a/_config.yml +++ b/_config.yml @@ -24,7 +24,7 @@ services: scrollreveal: true nodewaves: true busuanzi: true - # fastclick: true + fastclick: true # leancloud_visitors: true recommended_posts: true # 需要安装"hexo-recommended-posts": "^1.0.3", comments: true diff --git a/layout/_partial/meta.ejs b/layout/_partial/meta.ejs index cedb456..c41a6fa 100644 --- a/layout/_partial/meta.ejs +++ b/layout/_partial/meta.ejs @@ -29,17 +29,17 @@ <% } %> <% } %> - <% if(post.date && (!page.meta || page.meta.date != false)){ %> + <% if(post.date && (!post.meta || post.meta.date != false)){ %> <% } %> - <% if(post.categories && (!page.meta || page.meta.categories != false)){ %> + <% if(post.categories && (!post.meta || post.meta.categories != false)){ %> <%- partial('categories',{post:post}) %> <% } %> - <% if(!isPostList && theme.services && (!page.meta || page.meta.counter != false)){ %> + <% if(!isPostList && theme.services && (!post.meta || post.meta.counter != false)){ %> <% if (theme.services.leancloud_visitors == true && config.leancloud_visitors && config.leancloud_visitors.app_id && config.leancloud_visitors.app_key) { %>
<% if(row.desc) { %> -