diff --git a/_config.yml b/_config.yml index bf890f8..89babf8 100755 --- a/_config.yml +++ b/_config.yml @@ -25,7 +25,6 @@ services: nodewaves: true busuanzi: true # fastclick: true - # leancloud_visitors: true popular_posts: true # 需要安装插件 hexo-related-popular-posts comments: true volantis: true diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index ad4f2fb..0711a16 100755 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -31,7 +31,9 @@ <% } %> + <% if (config.feed && config.feed.path){ %> <%- feed_tag(config.feed.path, {title: config.title}) %> + <% } %> diff --git a/layout/_partial/scripts.ejs b/layout/_partial/scripts.ejs index f304dc8..54354d1 100755 --- a/layout/_partial/scripts.ejs +++ b/layout/_partial/scripts.ejs @@ -59,115 +59,6 @@ <% } %> <% } %> - - <% if (theme.services.leancloud_visitors == true) { %> - - <% if (config.leancloud_visitors && config.leancloud_visitors.app_id && config.leancloud_visitors.app_key) { %> - - - - <% } %> - <% } %> <% var displayComments = false; if (page && theme.services) {