fix(gitea): revert to UMAMI_ID/UMAMI_SRC and use .UmamiSrc/.UmamiId template vars

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-16 10:26:39 +02:00
parent 53608a7195
commit e613d766ec
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
{{if and (eq .RunMode "prod") (not .IsSigned)}}
<script defer src="{{.UmamiSrc}}" data-website-id="{{.UmamiScript}}"></script>
<script defer src="{{.UmamiSrc}}" data-website-id="{{.UmamiId}}"></script>
{{end}}