aboutsummaryrefslogtreecommitdiffstats
path: root/subtle/templates/gosquared.html
diff options
context:
space:
mode:
authorasselinpaul <pa.asselin@gmail.com>2012-06-12 18:23:40 +0200
committerasselinpaul <pa.asselin@gmail.com>2012-06-12 18:23:40 +0200
commite4c3d6fc542026ba68fa6f7e9cf4d84ab6e1801b (patch)
treeca743fea2c153afadc5266c15d9657062811583f /subtle/templates/gosquared.html
parentfdbaa6805064db85f6e71852d0c00e245d7ad432 (diff)
downloadpelican-themes-e4c3d6fc542026ba68fa6f7e9cf4d84ab6e1801b.tar.gz
added subtle
Diffstat (limited to 'subtle/templates/gosquared.html')
-rw-r--r--subtle/templates/gosquared.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/subtle/templates/gosquared.html b/subtle/templates/gosquared.html
new file mode 100644
index 0000000..f47efcf
--- /dev/null
+++ b/subtle/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 %}