flex/templates/partial/guages.html
Mark Caudill 8c3ad620c8 Add guag.es integration.
Set GUAGES in pelicanconf.py to your data-site-id.

See http://get.gaug.es/
2015-11-23 19:43:10 -05:00

16 lines
523 B
HTML

{% if GUAGES %}
<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', '{{ GUAGES }}');
t.setAttribute('data-track-path', 'https://track.gaug.es/track.gif');
t.src = 'https://track.gaug.es/track.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();
</script>
{% endif %}