mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
hugolib: Revert deprecation of .Page.Lang
Deprecation message was also emitted when calling .Page.Language.Lang. Reverting for now, but will remove all references to .Page.Lang from documentation.
This commit is contained in:
parent
963cecc12c
commit
6cb3bda3d1
1 changed files with 0 additions and 2 deletions
|
@ -153,9 +153,7 @@ func (p *pageMeta) Description() string {
|
|||
return p.pageConfig.Description
|
||||
}
|
||||
|
||||
// Deprecated: use .Page.Language.Lang instead.
|
||||
func (p *pageMeta) Lang() string {
|
||||
hugo.Deprecate(".Page.Lang", "Use .Page.Language.Lang instead.", "v0.123.0")
|
||||
return p.s.Lang()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue