diff options
author | Prefetch | 2022-11-03 19:27:19 +0100 |
---|---|---|
committer | Prefetch | 2022-11-03 19:27:19 +0100 |
commit | 8b8f7b2cd95e3991ae9ac984d425379b08024391 (patch) | |
tree | ea606fbb575d9c94b468312c68de3a0e0ba692a0 /source/_includes | |
parent | 48b234bf0f84a1b7cf777d58e88dc87eb6920dd3 (diff) |
Self-host GoatCounter JS, add link to results
Diffstat (limited to 'source/_includes')
-rw-r--r-- | source/_includes/footer.html | 2 | ||||
-rw-r--r-- | source/_includes/preamble.html | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/source/_includes/footer.html b/source/_includes/footer.html index 8a11b00..d91d3d5 100644 --- a/source/_includes/footer.html +++ b/source/_includes/footer.html @@ -4,5 +4,5 @@ <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>. </div> <div class="footr noha"> -Privacy-friendly statistics by <a href="https://www.goatcounter.com/">GoatCounter</a>. +<a href="https://prefetch.goatcounter.com/">Visitor statistics</a> </div> 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 %} |