aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_includes/sharing.html
diff options
context:
space:
mode:
Diffstat (limited to '.themes/classic/source/_includes/sharing.html')
-rw-r--r--.themes/classic/source/_includes/sharing.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/.themes/classic/source/_includes/sharing.html b/.themes/classic/source/_includes/sharing.html
index ad3112ee..7b074af5 100644
--- a/.themes/classic/source/_includes/sharing.html
+++ b/.themes/classic/source/_includes/sharing.html
@@ -1 +1,8 @@
-<a href="http://twitter.com/share" class="twitter-share-button" data-url="{{ site.url }}{{ page.url }}" data-via="{{ site.twitter_user }}" data-counturl="{{ site.url }}{{ page.url }}" >Tweet</a>
+<div class="sharing">
+ {% if site.twitter_tweet_button %}
+ <a href="http://twitter.com/share" class="twitter-share-button" data-url="{{ site.url }}{{ page.url }}" data-via="{{ site.twitter_user }}" data-counturl="{{ site.url }}{{ page.url }}" >Tweet</a>
+ {% endif %}
+ {% if site.google_plus_one %}
+ <g:plusone size="{{ site.google_plus_one_size }}"></g:plusone>
+ {% endif %}
+</div>