Created
February 18, 2013 18:33
-
-
Save alalwww/4979540 to your computer and use it in GitHub Desktop.
ツイートボタンのあとに、source/_includes/post/sharing.html にはてなブックマーク追加ボタンを追加。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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.hatena_bookmark_button %} | |
<a href="http://b.hatena.ne.jp/entry/{{ site.url }}{{ page.url }}" class="hatena-bookmark-button" data-hatena-bookmark-layout="simple-balloon" title="このエントリーをはてなブックマークに追加"><img src="http://b.st-hatena.com/images/entry-button/button-only.gif" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none;" /></a><script type="text/javascript" src="http://b.st-hatena.com/js/bookmark_button.js" charset="utf-8" async="async"></script> | |
{% 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="400" data-show-faces="false"></div> | |
{% endif %} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment