forked from sujaykundu777/devlopr-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
share_page.html
36 lines (35 loc) · 913 Bytes
/
share_page.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!-- Load Facebook SDK for JavaScript -->
<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 = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.0";
fjs.parentNode.insertBefore(js, fjs);
})(document, "script", "facebook-jssdk");
</script>
<script
async
src="https://platform.twitter.com/widgets.js"
charset="utf-8"
></script>
<div class="share-page">
<p class="share-text">Share this on →</p>
<a
href="https://twitter.com/share?ref_src=twsrc%5Etfw"
class="twitter-share-button"
data-size="large"
data-show-count="false"
style="margin-top:5px;"
>Tweet</a
>
<a
class="fb-share-button"
data-href="{{site.url}}{{page.url}}"
data-size="large"
data-layout="button"
>Share</a>
</div>