diff options
author | Vasudev Kamath <vasudev@copyninja.info> | 2016-04-17 13:15:23 +0530 |
---|---|---|
committer | Vasudev Kamath <vasudev@copyninja.info> | 2016-04-17 13:15:23 +0530 |
commit | f1b37410dd85f42d663f1eb591ac9bde567eeb47 (patch) | |
tree | 3fa2a35e467bf7f7432d4e88f7e0f6305ffd9f41 /templates/gosquared.html |
Template copied from pelican's simple theme.
Diffstat (limited to 'templates/gosquared.html')
-rw-r--r-- | templates/gosquared.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/gosquared.html b/templates/gosquared.html new file mode 100644 index 0000000..49ccbbe --- /dev/null +++ b/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 = "https://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 %} |