mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-30 04:41:49 +00:00
2bcaf8246b
Key change is using the new `absolute_url` and `relative_url` filters http://jekyllrb.com/news/2016/10/06/jekyll-3-3-is-here/ https://github.com/blog/2277-what-s-new-in-github-pages-with-jekyll-3-3
35 lines
1.2 KiB
HTML
35 lines
1.2 KiB
HTML
<div class="postSocialPlugins">
|
|
<a
|
|
href="https://twitter.com/share"
|
|
class="twitter-share-button"
|
|
data-url="{{ page.url | replace:'index.html','' | absolute_url }}"
|
|
data-text="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"
|
|
data-hashtags="flowtype">Tweet</a>
|
|
<div
|
|
class="fb-like"
|
|
data-href="{{ page.url | replace:'index.html','' | absolute_url }}"
|
|
data-layout="button_count"
|
|
data-action="like"
|
|
data-show-faces="false"
|
|
data-share="true"></div>
|
|
</div>
|
|
<script>
|
|
window.fbAsyncInit = function() {
|
|
FB.init({
|
|
appId : '{{ site.fbappid }}',
|
|
xfbml : true,
|
|
version : 'v2.2'
|
|
});
|
|
};
|
|
|
|
(function(d, s, id){
|
|
var js, fjs = d.getElementsByTagName(s)[0];
|
|
if (d.getElementById(id)) {return;}
|
|
js = d.createElement(s); js.id = id;
|
|
js.src = "//connect.facebook.net/en_US/sdk.js";
|
|
fjs.parentNode.insertBefore(js, fjs);
|
|
}(document, 'script', 'facebook-jssdk'));
|
|
</script>
|
|
|
|
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|