summaryrefslogtreecommitdiffstats
path: root/hugolib/site.go
diff options
context:
space:
mode:
authorOleksandr Redko <Oleksandr_Redko@epam.com>2023-05-22 20:11:12 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-06-19 09:26:29 +0200
commit9009c8cdca448e50704f7ecd1a3918c5919b0f37 (patch)
tree960aaa2b80a07c959360ad66fc79ebe7c0fa9632 /hugolib/site.go
parent12dc9a6e4acd5280a3e8b1658cbb96669fa97057 (diff)
all: Fix typos in function names and comments
Diffstat (limited to 'hugolib/site.go')
-rw-r--r--hugolib/site.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/site.go b/hugolib/site.go
index fca8bca75..7a3528929 100644
--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -885,7 +885,7 @@ func (s *Site) getLanguageTargetPathLang(alwaysInSubDir bool) string {
return s.getLanguagePermalinkLang(alwaysInSubDir)
}
-// get any lanaguagecode to prefix the relative permalink with.
+// get any language code to prefix the relative permalink with.
func (s *Site) getLanguagePermalinkLang(alwaysInSubDir bool) string {
if !s.h.isMultiLingual() || s.h.Conf.IsMultihost() {
return ""