changed partials/head.html for fix for Google analytics change to .Site.Config.Services.GoogleAnalytics.ID
This commit is contained in:
parent
b787253f7b
commit
2536b3aabb
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue