Merge pull request #68 from ranshers/ga-fix

changed layouts/partials/head.html for fix for Google analytics change
This commit is contained in:
Xiao Meng 2024-09-08 14:49:40 +08:00 committed by GitHub
commit 5ef24244d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@
{{- /* Misc */}} {{- /* Misc */}}
{{- if hugo.IsProduction | or (eq site.Params.env "production") }} {{- if hugo.IsProduction | or (eq site.Params.env "production") }}
{{- if site.GoogleAnalytics }} {{- if .Site.Config.Services.GoogleAnalytics.ID }}
{{- template "_internal/google_analytics.html" . }} {{- template "_internal/google_analytics.html" . }}
{{- end -}} {{- end -}}
{{- if site.Params.useCustomAnalytics }} {{- if site.Params.useCustomAnalytics }}