Skip to content

Commit

Permalink
feat: remove AddThis share
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Apr 7, 2023
1 parent 0903735 commit 78ec862
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 48 deletions.
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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)
Expand Down Expand Up @@ -117,5 +102,4 @@ link: http://www.google.com/
![Fancybox](https://raw.githubusercontent.com/hexojs/hexo-theme-light/site/source/screenshots/fancybox.gif)

[Hexo]: http://zespia.tw/hexo/
[AddThis]: https://www.addthis.com
[Fancybox]: http://fancyapps.com/fancybox/
8 changes: 0 additions & 8 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion layout/_partial/article.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
<% } else { %>
<%- partial('post/category') %>
<%- partial('post/tag') %>
<%- partial('post/share') %>
<% } %>
<div class="clearfix"></div>
</footer>
Expand Down
18 changes: 0 additions & 18 deletions layout/_partial/post/share.ejs

This file was deleted.

5 changes: 0 additions & 5 deletions source/css/_partial/article.styl
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,3 @@ article
content '\f02b'
top 3px
left 2px

.addthis
margin-top 15px
iframe
margin-top 0

0 comments on commit 78ec862

Please sign in to comment.