Only load plausible on production
Woops!
This commit is contained in:
parent
83b0f6efeb
commit
f87466090e
1 changed files with 3 additions and 1 deletions
|
@ -37,6 +37,8 @@
|
||||||
|
|
||||||
{{ partial "script_async.html" "js/app.js" }}
|
{{ partial "script_async.html" "js/app.js" }}
|
||||||
|
|
||||||
<script async defer data-domain="theorangeone.net" src="https://plausible.theorangeone.net/js/plausible.js"></script>
|
{{ if not .Site.IsServer }}
|
||||||
|
<script async defer data-domain="theorangeone.net" src="https://plausible.theorangeone.net/js/plausible.js"></script>
|
||||||
|
{{ end }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue