]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
tpl/tplimpl: Remove the Google News internal template
authorJoe Mooring <joe.mooring@veriphor.com>
Fri, 30 Dec 2022 06:57:15 +0000 (22:57 -0800)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 1 Mar 2023 17:11:44 +0000 (18:11 +0100)
This was deprecated, with a warning message, on 21 Nov 2021.

Reference #9190

tpl/tplimpl/embedded/templates/google_news.html [deleted file]

diff --git a/tpl/tplimpl/embedded/templates/google_news.html b/tpl/tplimpl/embedded/templates/google_news.html
deleted file mode 100644 (file)
index d1a995c..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-{{- warnf "The google_news internal template will be removed in a future release. Please remove calls to this template. See https://github.com/gohugoio/hugo/issues/9172 for additional information." -}}
-{{- if .IsPage -}}
-  {{- with .Params.news_keywords -}}
-  <meta name="news_keywords" content="{{ range $i, $kw := first 10 . }}{{ if $i }},{{ end }}{{ $kw }}{{ end }}">
-  {{- end -}}
-{{- end -}}