1
0
mirror of https://github.com/arsenetar/pelican-red.git synced 2026-01-23 15:11:38 +00:00

Move utility templates to prefix '_', add footer utility templates.

Utility templates moved to have '_' prefix similar to how sass files are.
Aditional templates for article and page footer contents now used to load
comments etc.
This commit is contained in:
2013-07-14 00:55:29 -04:00
parent b03fd560b6
commit f2cc7ba260
8 changed files with 47 additions and 23 deletions

17
templates/_gosquared.html Normal file
View File

@@ -0,0 +1,17 @@
<!-- 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);