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:
17
templates/_gosquared.html
Normal file
17
templates/_gosquared.html
Normal 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);
|
||||
Reference in New Issue
Block a user