diff --git a/README.md b/README.md index c6b36bc..b3eada2 100644 --- a/README.md +++ b/README.md @@ -47,14 +47,6 @@ twitter: show_replies: false tweet_count: 5 -addthis: - enable: true - pubid: - facebook: true - twitter: true - google: true - pinterest: true - fancybox: true google_analytics: @@ -68,13 +60,6 @@ rss: - **username** - Twitter username - **show_replies** - Enable displaying replies - **tweet_count** - Tweets display in widget -- **addthis** - Share buttons at the bottom of articles (Powered by [AddThis]) - - **enable** - Enable share buttons - - **pubid** - Profile ID of [AddThis] - - **facebook** - Enable Facebook button - - **twitter** - Enable Twitter button - - **google** - Enable Google+ button - - **pinterest** - Enable Pinterest button - **fancybox** - Enable [Fancybox] - **google_analytics** - Google Analytics ID - **rss** - RSS subscription link (change if using Feedburner) @@ -117,5 +102,4 @@ link: http://www.google.com/  [Hexo]: http://zespia.tw/hexo/ -[AddThis]: https://www.addthis.com [Fancybox]: http://fancyapps.com/fancybox/ diff --git a/_config.yml b/_config.yml index 18c113f..2db1e59 100644 --- a/_config.yml +++ b/_config.yml @@ -14,14 +14,6 @@ twitter: show_replies: false tweet_count: 5 -addthis: - enable: true - pubid: - facebook: true - twitter: true - google: true - pinterest: true - fancybox: true google_analytics: diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index 0f51789..efc2255 100644 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -32,7 +32,6 @@ <% } else { %> <%- partial('post/category') %> <%- partial('post/tag') %> - <%- partial('post/share') %> <% } %>
diff --git a/layout/_partial/post/share.ejs b/layout/_partial/post/share.ejs deleted file mode 100644 index 7695713..0000000 --- a/layout/_partial/post/share.ejs +++ /dev/null @@ -1,18 +0,0 @@ -<% if (theme.addthis.enable){ %> - - -<% } %> \ No newline at end of file diff --git a/source/css/_partial/article.styl b/source/css/_partial/article.styl index 17e2654..46889a7 100644 --- a/source/css/_partial/article.styl +++ b/source/css/_partial/article.styl @@ -305,8 +305,3 @@ article content '\f02b' top 3px left 2px - - .addthis - margin-top 15px - iframe - margin-top 0