aboutsummaryrefslogtreecommitdiff
path: root/source/_includes/google_plus_one.html
blob: b69ddaeb49bfd2bda9eca3545bf98e26d1084dd2 (plain)
1
2
3
4
5
6
7
8
9
{% if site.google_plus_one %}
  <script type="text/javascript">
    (function() {
      var script = document.createElement('script'); script.type = 'text/javascript'; script.async = true;
      script.src = 'https://apis.google.com/js/plusone.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(script, s);
    })();
  </script>
{% endif %}