diff options
author | Aaron Malone <aaron@munge.net> | 2011-10-23 00:46:00 -0500 |
---|---|---|
committer | Aaron Malone <aaron@munge.net> | 2011-10-23 00:46:00 -0500 |
commit | 3bba3ed4cfc43d621939436d1c7f8aa8f64ebcb4 (patch) | |
tree | 4032b2cacef8f25a4733acfcb0407154591d5ad5 | |
parent | a81ef5e28bc2abb846a2a3da04dd43aa7ca547a1 (diff) | |
download | my_new_personal_website-3bba3ed4cfc43d621939436d1c7f8aa8f64ebcb4.tar.xz my_new_personal_website-3bba3ed4cfc43d621939436d1c7f8aa8f64ebcb4.zip |
only include facebook js if facebook_like is true
Diffstat (limited to '')
-rw-r--r-- | .themes/classic/source/_includes/facebook_like.html | 2 |
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 %} |