google_analytics_async.html: Add deprecation warning

This commit is contained in:
Carl Johnson 2023-09-18 15:53:53 -04:00 committed by Bjørn Erik Pedersen
parent a262fd4ddb
commit c32094ace1

View file

@ -1,3 +1,4 @@
{{ warnf "_internal/google_analytics_async.html is no longer supported by Google and will be removed in a future version of Hugo" }}
{{- $pc := .Site.Config.Privacy.GoogleAnalytics -}}
{{- if not $pc.Disable -}}
{{ with .Site.GoogleAnalytics }}