aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-striped-html5up/templates/gosquared.html
diff options
context:
space:
mode:
authorFish <aroaminggeek@users.noreply.github.com>2017-03-25 16:38:01 -0600
committerGitHub <noreply@github.com>2017-03-25 16:38:01 -0600
commit36c2ef5937c24f9f276f75ac439ec2670f33e5b3 (patch)
tree3a5df2b2bbc95fefc847a2c58a2ec862188e2cd3 /pelican-striped-html5up/templates/gosquared.html
parentd7779b637b990aa70266d55faf842fbb4c837715 (diff)
downloadpelican-themes-36c2ef5937c24f9f276f75ac439ec2670f33e5b3.tar.gz
pelican-striped-html5up added
for pull request to origin
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 %}