diff options
author | Joe Mooring <[email protected]> | 2024-03-09 11:21:46 -0800 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-03-10 10:47:51 +0200 |
commit | 4f92f949eaf8c9827a758b3caadc672e0335480b (patch) | |
tree | b3e43a708cc4703697c4108d7c1798345874da8f /source/fileInfo.go | |
parent | d24ffdde5b34cb848d04db7099f9bf8903099209 (diff) | |
download | hugo-4f92f949eaf8c9827a758b3caadc672e0335480b.tar.gz hugo-4f92f949eaf8c9827a758b3caadc672e0335480b.zip |
hugolib: Deprecate .Site.MultiLingual in favor of hugo.IsMultiLingual
Closes #12224
Diffstat (limited to 'source/fileInfo.go')
-rw-r--r-- | source/fileInfo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fileInfo.go b/source/fileInfo.go index 1d2226994..44d08e620 100644 --- a/source/fileInfo.go +++ b/source/fileInfo.go @@ -61,7 +61,7 @@ func (fi *File) Extension() string { func (fi *File) Ext() string { return fi.p().Ext() } // Lang returns a file's language (e.g. "sv"). -// Deprecated: use .Page.Language.Lang instead. +// Deprecated: Use .Page.Language.Lang instead. func (fi *File) Lang() string { hugo.Deprecate(".Page.File.Lang", "Use .Page.Language.Lang instead.", "v0.123.0") return fi.fim.Meta().Lang |