mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
langs: Remove the Language.Params deprecation message for now
Closes #11025
This commit is contained in:
parent
6c2db0dfb0
commit
a6257d8a44
1 changed files with 3 additions and 1 deletions
|
@ -98,7 +98,9 @@ See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
|
||||||
// Note that this is the same as the Site.Params, but we keep it here for legacy reasons.
|
// Note that this is the same as the Site.Params, but we keep it here for legacy reasons.
|
||||||
// Deprecated: Use the site.Params instead.
|
// Deprecated: Use the site.Params instead.
|
||||||
func (l *Language) Params() maps.Params {
|
func (l *Language) Params() maps.Params {
|
||||||
DeprecationFunc(".Language.Params", paramsDeprecationWarning, false)
|
// TODO(bep) Remove this for now as it created a little too much noise. Need to think about this.
|
||||||
|
// See https://github.com/gohugoio/hugo/issues/11025
|
||||||
|
//DeprecationFunc(".Language.Params", paramsDeprecationWarning, false)
|
||||||
return l.params
|
return l.params
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue