Remove google_analytics_async.html
include
The internal Hugo template `google_analytics_async.html` no longer works because Google has removed the version of Google Analytics it uses. The regular internal template (google_analytics.html) already handles Google Analytics 4 asynchronously.
This commit is contained in:
parent
3e1cb24503
commit
c4c4154218
1 changed files with 0 additions and 4 deletions
|
@ -37,11 +37,7 @@
|
||||||
<link rel="manifest" href="{{ "manifest.json" | relURL }}">
|
<link rel="manifest" href="{{ "manifest.json" | relURL }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if not .Site.IsServer }}
|
{{- if not .Site.IsServer }}
|
||||||
{{- if hasPrefix .Site.GoogleAnalytics "G-" }}
|
|
||||||
{{ template "_internal/google_analytics.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
{{- else }}
|
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</head>
|
</head>
|
||||||
<body class="body kind-{{ .Kind }}">
|
<body class="body kind-{{ .Kind }}">
|
||||||
|
|
Loading…
Reference in a new issue