c404c1660c49
Add gaug.es code.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Mon, 24 Oct 2011 21:39:12 -0400 |
parents | fcd5abfaeff4 |
children | 191377a8e6e7 |
branches/tags | (none) |
files | src/newseasons/templates/main.clj |
Changes
--- 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