Wires the site up to the newly-deployed self-hosted Plausible instance at plausible.reground.org, gated behind hugo.IsProduction so local dev builds never send events.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{{ if hugo.IsProduction }}
|
||||
{{ with .Site.Params.plausible_domain }}
|
||||
<script defer data-domain="{{ . }}" src="https://plausible.reground.org/js/script.js"></script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user