aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/content_map_page.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-02-03 18:09:52 +0100
committerBjørn Erik Pedersen <[email protected]>2024-02-03 18:10:38 +0100
commit53f204310ec8362d7084c123e8e16f5bb73dd257 (patch)
treed227e23ec9bf0ef1107dc6528ecfd73182ae73ed /hugolib/content_map_page.go
parent7f82461407e21ba5b80380d12906fadd12b93e2d (diff)
downloadhugo-53f204310ec8362d7084c123e8e16f5bb73dd257.tar.gz
hugo-53f204310ec8362d7084c123e8e16f5bb73dd257.zip
all: Rename Unmormalized => Unnormalized
Diffstat (limited to 'hugolib/content_map_page.go')
-rw-r--r--hugolib/content_map_page.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/content_map_page.go b/hugolib/content_map_page.go
index 27b37a8fc..1f4cd0880 100644
--- a/hugolib/content_map_page.go
+++ b/hugolib/content_map_page.go
@@ -1554,7 +1554,7 @@ func (sa *sitePagesAssembler) assembleResources() error {
return false, nil
}
- relPathOriginal := rs.path.Unmormalized().PathRel(ps.m.pathInfo.Unmormalized())
+ relPathOriginal := rs.path.Unnormalized().PathRel(ps.m.pathInfo.Unnormalized())
relPath := rs.path.BaseRel(ps.m.pathInfo)
var targetBasePaths []string
@@ -1759,7 +1759,7 @@ func (sa *sitePagesAssembler) addMissingRootSections() error {
seen[section] = true
// Try to preserve the original casing if possible.
- sectionUnnormalized := p.Unmormalized().Section()
+ sectionUnnormalized := p.Unnormalized().Section()
pth := sa.s.Conf.PathParser().Parse(files.ComponentFolderContent, "/"+sectionUnnormalized+"/_index.md")
nn := w.Tree.Get(pth.Base())