summaryrefslogtreecommitdiff
path: root/_layouts/post.html
diff options
context:
space:
mode:
authorBen Burwell <bburwell1@gmail.com>2014-06-14 11:12:13 -0400
committerBen Burwell <bburwell1@gmail.com>2014-06-14 11:12:13 -0400
commit201ea8e600f9b01585a26f0844a463b6cfef2a06 (patch)
tree7ab4a9a142faa695429bd0706c90405ff066bbb6 /_layouts/post.html
parent32595c5f7f087b515629d71501ee501cb7adbf4e (diff)
Change to static social icons
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html17
1 files changed, 8 insertions, 9 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index dc57017..a1d3039 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -9,18 +9,17 @@ layout: master
<div class="social-buttons">
<!-- Twitter -->
- <a href="https://twitter.com/share" class="twitter-share-button" data-via="bburwell" data-count="none" data-dnt="true">Tweet</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>
+ <a href="https://twitter.com/intent/tweet?url=http%3A%2F%2Fwww.benburwell.com{{ page.url | cgi_escape }}&amp;text={{ page.title }}" onclick="javascript:window.open(this.href,
+ '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><img src="/assets/images/icons/social/twitter.png" alt="Tweet"></a>
<!-- Facebook -->
- <div class="fb-share-button" data-type="button"></div>
+ <a href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.benburwell.com{{ page.url | cgi_escape }}" onclick="javascript:window.open(this.href,
+ '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><img src="/assets/images/icons/social/facebook.png" alt="Share on Facebook"></a>
+
+ <!-- Google Plus -->
+ <a href="https://plus.google.com/share?url=http%3A%2F%2Fwww.benburwell.com{{ page.url | cgi_escape }}" onclick="javascript:window.open(this.href,
+ '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><img src="/assets/images/icons/social/gplus.png" alt="Share on Google+"></a>
- <!-- Flattr -->
- <script id='fbyvjgw'>
- (function(i){var f,s=document.getElementById(i);f=document.createElement('iframe');f.src='//api.flattr.com/button/view/?uid=benburwell&button=compact&url='+encodeURIComponent(document.URL);f.title='Flattr';f.height=20;f.width=110;f.style.borderWidth=0;s.parentNode.insertBefore(f,s);})('fbyvjgw');
- </script>
</div>
<div class="date">{{ page.date | date: "%A, %-d %B %Y" }}</div>