aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-striped-html5up/templates/gosquared.html
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2017-04-08 13:44:58 +0200
committerGitHub <noreply@github.com>2017-04-08 13:44:58 +0200
commit88f21b95e3a6dc91c6a344e90ec50afbedc5bdd7 (patch)
tree6e6c99fab6a0c45ba96bfb501f581b3a71e7917a /pelican-striped-html5up/templates/gosquared.html
parent5ebcbdac1f43f04a47eb121aa3b5a8ee4ae35da6 (diff)
parent3a009cc2c24552366b823c69e393029c14fe8758 (diff)
downloadpelican-themes-88f21b95e3a6dc91c6a344e90ec50afbedc5bdd7.tar.gz
Merge branch 'master' into bricabractheme
Diffstat (limited to 'pelican-striped-html5up/templates/gosquared.html')
-rw-r--r--pelican-striped-html5up/templates/gosquared.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/pelican-striped-html5up/templates/gosquared.html b/pelican-striped-html5up/templates/gosquared.html
new file mode 100644
index 0000000..49ccbbe
--- /dev/null
+++ b/pelican-striped-html5up/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 %}