android.moparisthebest.org/source/_includes/post/sharing.html
2012-06-05 00:08:10 -05:00

25 lines
1.2 KiB
HTML

<div class="sharing">
{% if site.twitter_tweet_button %}
{% if site.do_not_track %}
<a href="http://twitter.com/share" title="Tweet this" class="twitter-share" target="_blank">Tweet</a>
{% else %}
<a href="http://twitter.com/share" title="Tweet this" class="twitter-share-button twitter-share" data-url="{{ site.url }}{{ page.url }}" data-via="{{ site.twitter_user }}" data-counturl="{{ site.url }}{{ page.url }}" target="_blank" >Tweet</a>
{% endif %}
{% endif %}
{% if site.google_plus_one %}
{% if site.do_not_track %}
<a title="+1 on Google Plus" class="googleplus-share" href="https://plusone.google.com/_/+1/confirm?hl=en&url={{site.url}}{{page.url}}" target="_blank">+1</a>
{% else %}
<div class="g-plusone" data-size="{{ site.google_plus_one_size }}"></div>
{% endif %}
{% endif %}
{% if site.facebook_like %}
{% if site.do_not_track %}
<a title="Share on Facebook" class="facebook-share" href="http://www.facebook.com/sharer.php?s=100&p[url]={{site.url}}{{page.url}}" target="_blank">Share</a>
{% else %}
<div class="fb-like" data-send="true" data-width="450" data-show-faces="false"></div>
{% endif %}
{% endif %}
{% include custom/sharing.html %}
</div>