summaryrefslogtreecommitdiff
path: root/source/_includes/preamble.html
diff options
context:
space:
mode:
authorPrefetch2022-11-03 19:27:19 +0100
committerPrefetch2022-11-03 19:27:19 +0100
commit8b8f7b2cd95e3991ae9ac984d425379b08024391 (patch)
treeea606fbb575d9c94b468312c68de3a0e0ba692a0 /source/_includes/preamble.html
parent48b234bf0f84a1b7cf777d58e88dc87eb6920dd3 (diff)
Self-host GoatCounter JS, add link to results
Diffstat (limited to 'source/_includes/preamble.html')
-rw-r--r--source/_includes/preamble.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/_includes/preamble.html b/source/_includes/preamble.html
index 96b26b5..df39a13 100644
--- a/source/_includes/preamble.html
+++ b/source/_includes/preamble.html
@@ -19,4 +19,6 @@
{% endif %}
<link rel="stylesheet" href="/infra/css/main.css?v=20221027">
-<script data-goatcounter="https://prefetch.goatcounter.com/count" async src="https://gc.zgo.at/count.js"></script>
+{% if jekyll.environment != "development" %}
+<script data-goatcounter="https://prefetch.goatcounter.com/count" async src="/infra/js/count.js"></script>
+{% endif %}