diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2013-01-21 12:10:58 +0100 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2013-01-21 12:10:58 +0100 |
| commit | 5c4e85fe93ec3a713cf173db34e422072254d1c7 (patch) | |
| tree | e1b0cb4d442e429a485d64eb2df3596e7d1360ca /theme/templates/gosquared.html | |
| parent | f62624ae5229ecc32fc57de8e6ae7aab051f9a4a (diff) | |
| download | blog-5c4e85fe93ec3a713cf173db34e422072254d1c7.tar.gz | |
Configuration update. Custom theme
Diffstat (limited to 'theme/templates/gosquared.html')
| -rw-r--r-- | theme/templates/gosquared.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/theme/templates/gosquared.html b/theme/templates/gosquared.html new file mode 100644 index 0000000..f47efcf --- /dev/null +++ b/theme/templates/gosquared.html @@ -0,0 +1,14 @@ +{% if GOSQUARED_SITENAME %} +<script type="text/javascript"> + var GoSquared={}; + GoSquared.acct = "{{ GOSQUARED_SITENAME }}"; + (function(w){ + function gs(){ + w._gstc_lt=+(new Date); var d=document; + var g = d.createElement("script"); g.type = "text/javascript"; g.async = true; g.src = "//d1l6p2sc9645hc.cloudfront.net/tracker.js"; + var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(g, s); + } + w.addEventListener?w.addEventListener("load",gs,false):w.attachEvent("onload",gs); + })(window); +</script> +{% endif %} |
