Google_news internal template will be removed in a future release

WARN 2021/12/28 21:31:40 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.

what should I do?

Remove this line:
https://github.com/BioArchLinux/hugo-theme-archbio/blob/main/layouts/partials/head.html#L24

sorry, it still can not solve the warning report

I asked you to remove the line.
Instead, you wrapped it in HTML comments, which does not do what you think it does.

If you want to comment-out template code, do this:

{{/* {{ $foo := 1 }} */}}

See https://gohugo.io/templates/introduction/#html-comments-containing-go-templates.

Do not try to comment out Go Template code using HTML comments.

sorry about this

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.