Reorganize guag.es integration per alexandrevicenzi.

This commit is contained in:
Mark Caudill 2015-11-24 19:01:08 -05:00
parent 8c3ad620c8
commit ad627036b6
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,9 @@
</footer> </footer>
</main> </main>
{% include "partial/ga.html" %} {% include "partial/ga.html" %}
{% if GUAGES %}
{% include "partial/guages.html" %} {% include "partial/guages.html" %}
{% endif %}
{% if ADD_THIS_ID %} {% if ADD_THIS_ID %}
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid={{ ADD_THIS_ID }}" async="async"></script> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid={{ ADD_THIS_ID }}" async="async"></script>
{% endif %} {% endif %}

View file

@ -1,4 +1,3 @@
{% if GUAGES %}
<script type="text/javascript"> <script type="text/javascript">
var _gauges = _gauges || []; var _gauges = _gauges || [];
(function() { (function() {
@ -13,4 +12,3 @@
s.parentNode.insertBefore(t, s); s.parentNode.insertBefore(t, s);
})(); })();
</script> </script>
{% endif %}