aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/templates/facebook.html
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-12-05 15:13:27 -0800
committerAlexis Metaireau <alexis@notmyidea.org>2011-12-05 15:13:27 -0800
commit24394e5871dd901cd2001551984df5a3d0f8c867 (patch)
tree7b06f08893121f5efefa875dc40b4064e8317bdd /bootstrap/templates/facebook.html
parent28bc815799239f17f896b3b64929a0356fd090db (diff)
parent13496f38dfd148556524aa1805107aa3e6c93548 (diff)
downloadpelican-themes-24394e5871dd901cd2001551984df5a3d0f8c867.tar.gz
Merge pull request #7 from mapio/master
I've added a new theme based on Bootstrap (from Twitter)
Diffstat (limited to 'bootstrap/templates/facebook.html')
-rw-r--r--bootstrap/templates/facebook.html9
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