mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 00:52:43 +00:00
Fix issue where hugo fails with error: to no such template "_internal/google_analytics_async.html"
This commit is contained in:
parent
470ea40982
commit
b97dc18ab0
@ -37,7 +37,7 @@
|
|||||||
{{- template "_internal/twitter_cards.html" . -}}
|
{{- template "_internal/twitter_cards.html" . -}}
|
||||||
|
|
||||||
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
|
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ block "head" . }}{{ partial "head-additions.html" . }}{{ end }}
|
{{ block "head" . }}{{ partial "head-additions.html" . }}{{ end }}
|
||||||
</head>
|
</head>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user