summaryrefslogtreecommitdiffstats
path: root/source/_includes/post
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 18:24:40 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 18:24:40 +0100
commitee892b908a7e1b3b8c1fccb1c4d8b8d54c94f174 (patch)
tree2c4fe92f279f887bf30f5dcdd236e1679e1b4525 /source/_includes/post
parentf54c3bdd1563d6bbd398c10ad0722396fa2ae75d (diff)
downloadoctopress-theme-jeyzu-ee892b908a7e1b3b8c1fccb1c4d8b8d54c94f174.zip
octopress-theme-jeyzu-ee892b908a7e1b3b8c1fccb1c4d8b8d54c94f174.tar.gz
use site config
Diffstat (limited to 'source/_includes/post')
-rw-r--r--source/_includes/post/sharing.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/_includes/post/sharing.html b/source/_includes/post/sharing.html
index d41d1e0..b099de9 100644
--- a/source/_includes/post/sharing.html
+++ b/source/_includes/post/sharing.html
@@ -1,8 +1,14 @@
<div class="share">
<div class="addthis_toolbox addthis_default_style ">
+ {% if site.facebook_like %}
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
+ {% endif %}
+ {% if site.twitter_tweet_button %}
<a class="addthis_button_tweet"></a>
- <a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
+ {% endif %}
+ {% if site.google_plus_one %}
+ <a class="addthis_button_google_plusone" g:plusone:size="{{ site.google_plus_one_size }}"></a>
+ {% endif %}
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4eb4a0c47196e907"></script>