Merge pull request from deining/hyde

Do not load GA in dev mode
This commit is contained in:
Alexandre Vicenzi 2022-03-08 14:14:48 +01:00 committed by GitHub
commit 8fae4af867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
layouts/_default

View File

@ -74,6 +74,8 @@
<script src="{{ . | relURL }}"></script>
{{- end}}
{{ template "_internal/google_analytics_async.html" . }}
{{ if not .Site.IsServer }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
</body>
</html>