From d139da3a3277f73d7f01e4283d8dc01630a5317c Mon Sep 17 00:00:00 2001 From: Zhiming Wang <zmwangx@gmail.com> Date: Mon, 20 Oct 2014 16:38:24 -0700 Subject: initial setup --- source/_includes/post/sharing.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 source/_includes/post/sharing.html (limited to 'source/_includes/post/sharing.html') diff --git a/source/_includes/post/sharing.html b/source/_includes/post/sharing.html new file mode 100644 index 00000000..d639faa1 --- /dev/null +++ b/source/_includes/post/sharing.html @@ -0,0 +1,11 @@ +<div class="sharing"> + {% if site.twitter_tweet_button %} + <a href="//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 %} + <div class="g-plusone" data-size="{{ site.google_plus_one_size }}"></div> + {% endif %} + {% if site.facebook_like %} + <div class="fb-like" data-send="true" data-width="450" data-show-faces="false"></div> + {% endif %} +</div> -- cgit v1.2.1