diff options
Diffstat (limited to 'bootstrap/templates/facebook.html')
-rw-r--r-- | bootstrap/templates/facebook.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstrap/templates/facebook.html b/bootstrap/templates/facebook.html new file mode 100644 index 0000000..1070ac3 --- /dev/null +++ b/bootstrap/templates/facebook.html @@ -0,0 +1,9 @@ +{% 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 %}
\ No newline at end of file |