blog/theme/bootstrapdark/templates/facebook.html

9 lines
377 B
HTML
Raw Permalink Normal View History

{% if FACEBOOK_APPID %}
<div id="fb-root"></div>
<script>(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1&appId={{ FACEBOOK_APPID }}";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));</script>
{% endif %}