22 lines
946 B
HTML
22 lines
946 B
HTML
<!-- Share on Twitter -->
|
|
<a href="https://twitter.com/share" class="twitter-share-button" data-via="kendo5731"></a>
|
|
<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>
|
|
|
|
<div class="fb-share-button" data-href="{{ .Permalink }}" data-layout="button"></div>
|
|
<div id="fb-root"></div>
|
|
<script>(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/{{ $.Site.Params.locale }}/sdk.js#xfbml=1&version=v2.5";
|
|
fjs.parentNode.insertBefore(js, fjs);
|
|
}(document, 'script', 'facebook-jssdk'));</script>
|