changed partials/head.html for fix for Google analytics change to .Site.Config.Services.GoogleAnalytics.ID

This commit is contained in:
ranshers 2024-09-02 12:31:01 -04:00
parent b787253f7b
commit 2536b3aabb

View file

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