Remove WARN with false negatives

Fixes #13806
This commit is contained in:
Bjørn Erik Pedersen
2025-06-22 13:07:34 +02:00
parent 36f6f987a9
commit 6a4a3ab8f8
3 changed files with 27 additions and 26 deletions

View File

@@ -29,7 +29,6 @@ import (
"github.com/gohugoio/hugo/source"
"github.com/gohugoio/hugo/common/constants"
"github.com/gohugoio/hugo/common/hashing"
"github.com/gohugoio/hugo/common/hugo"
"github.com/gohugoio/hugo/common/loggers"
@@ -647,9 +646,6 @@ params:
}
for k, v := range userParams {
if _, found := params[k]; found {
p.s.Log.Warnidf(constants.WarnFrontMatterParamsOverrides, "Hugo front matter key %q is overridden in params section.", k)
}
params[strings.ToLower(k)] = v
}