--- a/src/newseasons/templates/main.clj Sun Oct 23 20:41:11 2011 -0400
+++ b/src/newseasons/templates/main.clj Mon Oct 24 21:39:12 2011 -0400
@@ -21,6 +21,21 @@
</script>")
+(def gauges "
+ <script type='text/javascript'>
+ var _gauges = _gauges || [];
+ (function() {
+ var t = document.createElement('script');
+ t.type = 'text/javascript';
+ t.async = true;
+ t.id = 'gauges-tracker';
+ t.setAttribute('data-site-id', '4ea612e7613f5d4208000001');
+ t.src = '//secure.gaug.es/track.js';
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(t, s);
+ })();
+ </script>")
+
; Utils -----------------------------------------------------------------------
(defn include-less [href]
@@ -64,7 +79,8 @@
"It's "
(link-to "http://github.com/sjl/newseasons" "open source")
"."]]]
- ga]))
+ ga
+ gauges]))
(defpartial inner [title body-class & content]
(base body-class