only enable cloudflare and plausible tracking via "https://oe7drt.com"

This commit is contained in:
Dominic Reich 2025-01-05 10:04:01 +01:00
parent 7ff3571259
commit 20dd57d1d3
Signed by: dominic
GPG key ID: 0B5787DB23049C45
2 changed files with 6 additions and 2 deletions

View file

@ -47,6 +47,8 @@
{{- partial "search.html" . -}} {{- partial "search.html" . -}}
{{ end }} {{ end }}
</div> </div>
<!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "22f5246f39094b2cb80fa476d2a8099f"}'></script><!-- End Cloudflare Web Analytics --> {{- if eq .Site.BaseURL "https://oe7drt.com/" }}
<!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "22f5246f39094b2cb80fa476d2a8099f"}'></script><!-- End Cloudflare Web Analytics -->
{{- end }}
</body> </body>
</html> </html>

View file

@ -1,4 +1,6 @@
{{ partial "plausible_head.html" . }} {{- if eq .Site.BaseURL "https://oe7drt.com/" }}
{{ partial "plausible_head.html" . }}
{{- end }}
<meta name="fediverse:creator" content="@oe7drt@mastodon.radio" /> <meta name="fediverse:creator" content="@oe7drt@mastodon.radio" />
{{ with resources.Get "js/lightbox.js" }} {{ if hugo.IsDevelopment }} {{ with . {{ with resources.Get "js/lightbox.js" }} {{ if hugo.IsDevelopment }} {{ with .