aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/site_new.go
diff options
context:
space:
mode:
authorJoe Mooring <[email protected]>2024-03-12 08:18:23 -0700
committerBjørn Erik Pedersen <[email protected]>2024-03-13 17:34:42 +0200
commitdc6a292133bf3249f1741a7624075b0782b16f84 (patch)
treeee11263c7a02b7f68e33185851511c08bb14c843 /hugolib/site_new.go
parent4f92f949eaf8c9827a758b3caadc672e0335480b (diff)
downloadhugo-dc6a292133bf3249f1741a7624075b0782b16f84.tar.gz
hugo-dc6a292133bf3249f1741a7624075b0782b16f84.zip
common/hugo: Rename IsMultiHost and IsMultiLingual
hugo.IsMultiHost => hugo.IsMultihost hugo.IsMultiLingual => hugo.IsMultilingual Closes #12232
Diffstat (limited to 'hugolib/site_new.go')
-rw-r--r--hugolib/site_new.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/site_new.go b/hugolib/site_new.go
index 5a5811958..21d5ace96 100644
--- a/hugolib/site_new.go
+++ b/hugolib/site_new.go
@@ -484,10 +484,10 @@ func (s *Site) BuildDrafts() bool {
return s.conf.BuildDrafts
}
-// Deprecated: Use hugo.IsMultiLingual instead.
+// Deprecated: Use hugo.IsMultilingual instead.
func (s *Site) IsMultiLingual() bool {
- hugo.Deprecate(".Site.IsMultiLingual", "Use hugo.IsMultiLingual instead.", "v0.124.0")
- return s.h.isMultiLingual()
+ hugo.Deprecate(".Site.IsMultiLingual", "Use hugo.IsMultilingual instead.", "v0.124.0")
+ return s.h.isMultilingual()
}
func (s *Site) LanguagePrefix() string {