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:
vimux 2023-11-07 11:36:41 -05:00
parent 3e1cb24503
commit c4c4154218
No known key found for this signature in database
GPG key ID: 5A34FDC4EE832E34

View file

@ -37,11 +37,7 @@
<link rel="manifest" href="{{ "manifest.json" | relURL }}">
{{- end }}
{{- if not .Site.IsServer }}
{{- if hasPrefix .Site.GoogleAnalytics "G-" }}
{{ template "_internal/google_analytics.html" . }}
{{- else }}
{{ template "_internal/google_analytics_async.html" . }}
{{- end }}
{{- end }}
</head>
<body class="body kind-{{ .Kind }}">