1
0
mirror of https://github.com/arsenetar/pelican-red.git synced 2024-11-24 19:59:02 +00:00
pelican-red/templates/_gosquared.html
Andrew Senetar 7df1c88d8c Update templates
The following updates are made:
- index.html now lists the site description along with X articles
- _list_item.html universalizes code for iterating over the articles
- _site_social.html is merged into base.html
- _google_search.html is added for custom search support
- _gosquared.html, _google_analytics.html have minor formatting changes
- archives.html displays a one page list of all articles
- period_archives.html is removed as it is not planned for implementation atm
- tags.html general clean up and tweaks
- base.html now has
  - full rss/atom feed support
  - disqus comment count support on links (not used yet)
  - blog links in aside
  - search in aside
2013-07-29 05:58:17 -04:00

19 lines
611 B
HTML

<!-- GoSquared Tracking -->
<script type="text/javascript">
var GoSquared = {};
GoSquared.acct = "{{ GO_SQUARED }}"; // account number
(function(w){
function gs(){
w._gstc_lt = +new Date;
var d = document, g = d.createElement("script");
g.type = "text/javascript";
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>