tpl/tplimpl: Remove the Google News internal template

This was deprecated, with a warning message, on 21 Nov 2021.

Reference #9190
This commit is contained in:
Joe Mooring 2022-12-29 22:57:15 -08:00 committed by Bjørn Erik Pedersen
parent c0d15a2897
commit 66f94b4945

View file

@ -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 -}}