aboutsummaryrefslogtreecommitdiff
path: root/.themes
diff options
context:
space:
mode:
authorFrederic Hemberger <mail@frederic-hemberger.de>2011-10-22 23:21:56 -0700
committerFrederic Hemberger <mail@frederic-hemberger.de>2011-10-22 23:21:56 -0700
commit408ed3e1e2ed1f62aebb13d5382732ade9de8655 (patch)
tree4032b2cacef8f25a4733acfcb0407154591d5ad5 /.themes
parenta81ef5e28bc2abb846a2a3da04dd43aa7ca547a1 (diff)
parent3bba3ed4cfc43d621939436d1c7f8aa8f64ebcb4 (diff)
downloadmy_new_personal_website-408ed3e1e2ed1f62aebb13d5382732ade9de8655.tar.xz
my_new_personal_website-408ed3e1e2ed1f62aebb13d5382732ade9de8655.zip
Merge pull request #240 from aaroncm/master
Only include facebook js if it is to be used
Diffstat (limited to '.themes')
-rw-r--r--.themes/classic/source/_includes/facebook_like.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/.themes/classic/source/_includes/facebook_like.html b/.themes/classic/source/_includes/facebook_like.html
index 6c4c2788..74f91307 100644
--- a/.themes/classic/source/_includes/facebook_like.html
+++ b/.themes/classic/source/_includes/facebook_like.html
@@ -1,3 +1,4 @@
+{% if site.facebook_like %}
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
@@ -6,3 +7,4 @@
js.src = "//connect.facebook.net/en_US/all.js#appId=212934732101925&xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
+{% endif %}