fix(gitea): use .RunModeIsProd and hardcode Umami values in header template
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
e613d766ec
commit
cf32e669cb
3 files changed
+2
-6
No files matched your search
@@ -1,3 +1,3 @@
|
||||
{{if and (eq .RunMode "prod") (not .IsSigned)}}
|
||||
<script defer src="{{.UmamiSrc}}" data-website-id="{{.UmamiId}}"></script>
|
||||
{{if and .RunModeIsProd (not .IsSigned)}}
|
||||
<script defer src="https://umami.pivoine.art/script.js" data-website-id="eee7e810-116b-408a-a46d-f51dcec217c2"></script>
|
||||
{{end}}
|
||||
Reference in new issue
Block a user