diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-02-03 18:09:52 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-02-03 18:10:38 +0100 |
commit | 53f204310ec8362d7084c123e8e16f5bb73dd257 (patch) | |
tree | d227e23ec9bf0ef1107dc6528ecfd73182ae73ed /hugolib/content_map_page.go | |
parent | 7f82461407e21ba5b80380d12906fadd12b93e2d (diff) | |
download | hugo-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.go | 4 |
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()) |