Fix issue where hugo fails with error: to no such template "_internal/google_analytics_async.html"

This commit is contained in:
Ivo 2024-04-23 21:26:33 +02:00
parent 470ea40982
commit b97dc18ab0

View File

@ -37,7 +37,7 @@
{{- template "_internal/twitter_cards.html" . -}}
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
{{ template "_internal/google_analytics_async.html" . }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
{{ block "head" . }}{{ partial "head-additions.html" . }}{{ end }}
</head>