Fix compatibility with Hugo v0.125.0

`google_analytics_async.html` is now removed from Hugo and the regular
template should be used.
Hugo pull-request: [#12299](https://github.com/gohugoio/hugo/pull/12299)

Without this change, it is not possible to build with Hugo
v0.125.0 or later.
This commit is contained in:
Oscar Aurin 2024-04-19 08:01:06 +02:00
parent 895aba1441
commit 40f4c2d422

View file

@ -11,7 +11,7 @@
</div> </div>
</footer> </footer>
{{ if not .Site.IsServer }} {{ if not .Site.IsServer }}
{{ template "_internal/google_analytics_async.html" . }} {{ template "_internal/google_analytics.html" . }}
{{ end }} {{ end }}
{{- if (isset .Site.Params "social") -}} {{- if (isset .Site.Params "social") -}}