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:
parent
895aba1441
commit
40f4c2d422
|
@ -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") -}}
|
||||||
|
|
Loading…
Reference in a new issue