blob: 03e1a2ad26cb5c6d540d22bba82998aad8fce6cd (
plain) (
tree)
|
|
{% if FACEBOOK_APP_ID %}
<div id="fb-root"></div>
<script>
facebook_appId = '{{ FACEBOOK_APP_ID }}';
(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/en_US/all.js#xfbml=1&appId=" + facebook_appId;
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
{% endif %}
|