fix: don't include tracker script for local env
All checks were successful
Deploy pages / deploy (push) Successful in 38s

This commit is contained in:
Peter 2024-04-30 16:06:35 +02:00
parent 852f718af7
commit 1fde19b8af
Signed by: prskr
GPG key ID: F56BED6903BC5E37

View file

@ -1,2 +1,4 @@
{{ if hugo.IsProduction }}
<script defer src="https://analytics.icb4dc0.de/script.js" data-website-id="fcc44d94-82fe-433a-bee1-46b586dc69f8"></script> <script defer src="https://analytics.icb4dc0.de/script.js" data-website-id="fcc44d94-82fe-433a-bee1-46b586dc69f8"></script>
{{ end }}
<script src="https://kit.fontawesome.com/e6634cbc14.js" crossorigin="anonymous"></script> <script src="https://kit.fontawesome.com/e6634cbc14.js" crossorigin="anonymous"></script>