aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Malone <aaron@munge.net>2011-10-23 00:46:00 -0500
committerAaron Malone <aaron@munge.net>2011-10-23 00:46:00 -0500
commit3bba3ed4cfc43d621939436d1c7f8aa8f64ebcb4 (patch)
tree4032b2cacef8f25a4733acfcb0407154591d5ad5
parenta81ef5e28bc2abb846a2a3da04dd43aa7ca547a1 (diff)
downloadmy_new_personal_website-3bba3ed4cfc43d621939436d1c7f8aa8f64ebcb4.tar.xz
my_new_personal_website-3bba3ed4cfc43d621939436d1c7f8aa8f64ebcb4.zip
only include facebook js if facebook_like is true
-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 %}