Mercurial > public > bravenewsurf
diff bns_website/templates/core/social_sharing_begin.html @ 12:55e1d68da925
For issue #3, add social media sharing icons to the home page.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 30 Oct 2011 16:00:12 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bns_website/templates/core/social_sharing_begin.html Sun Oct 30 16:00:12 2011 -0500 @@ -0,0 +1,8 @@ +<div id="fb-root"></div> +<script type="text/javascript">(function(d, s, id) { + var js, fjs = d.getElementsByTagName(s)[0]; + if (d.getElementById(id)) {return;} + js = d.createElement(s); js.id = id; js.async = true; + js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; + fjs.parentNode.insertBefore(js, fjs); +}(document, 'script', 'facebook-jssdk'));</script>