google_analytics_async.html: Add deprecation warning - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit c32094ace113412abea354b7119d154168097287
DIR parent a262fd4ddbc27dd867fd14781e8c358e5268cb58
HTML Author: Carl Johnson <me@carlmjohnson.net>
Date: Mon, 18 Sep 2023 15:53:53 -0400
google_analytics_async.html: Add deprecation warning
Diffstat:
M tpl/tplimpl/embedded/templates/goo… | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/tpl/tplimpl/embedded/templates/google_analytics_async.html b/tpl/tplimpl/embedded/templates/google_analytics_async.html
@@ -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 }}