Add goatcounter to twig

This commit is contained in:
RealStickman 2023-03-12 14:29:37 +01:00
parent 279e8a136e
commit adef9a8604

View File

@ -0,0 +1,14 @@
<div id="body-inner">
<h1>{{ page.title }}</h1>
<p>
{{ page.content|raw }}
</p>
<script>
window.goatcounter = {
path: function(p) { return location.host + p }
}
</script>
<script data-goatcounter="https://exu.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
</div>