1
0
Fork 0
forked from wezm/wezm.net

Add GoatCounter

This commit is contained in:
Wesley Moore 2019-08-17 08:47:19 +10:00
parent 46b38d2e57
commit 3dfe710afa
No known key found for this signature in database
GPG key ID: BF67766C0BC2D0EE

View file

@ -26,3 +26,18 @@
</div> </div>
<span class="copyright">Copyright &copy; 2004 &ndash; <%= Date.today.year %> Wesley Moore</span> <span class="copyright">Copyright &copy; 2004 &ndash; <%= Date.today.year %> Wesley Moore</span>
</footer> </footer>
<script>
(function() {
if (window.location.hostname.indexOf('localhost') > -1) {
return;
}
var script = document.createElement('script');
window.counter = 'https://binarytrance.goatcounter.com/count'
script.async = 1;
script.src = '//static.goatcounter.com/count.min.js';
var ins = document.getElementsByTagName('script')[0];
ins.parentNode.insertBefore(script, ins)
})();
</script>