quentin.dufour.io/_includes/share.html
2018-05-20 13:49:15 +02:00

9 lines
468 B
HTML

<a class="twitter" href="https://twitter.com/intent/tweet?text={{ site.shareurl }}{{ page.url }} - {{page.title}} by @{{ site.authorTwitter }}"><span class="icon-twitter"> Tweet</span></a>
<a class="facebook" href="#" onclick="
window.open(
'https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(location.href),
'facebook-share-dialog',
'width=626,height=436');
return false;"><span class="icon-facebook-rect"> Share</span>
</a>