all: Rename Unmormalized => Unnormalized

This commit is contained in:
Bjørn Erik Pedersen
2024-02-03 18:09:52 +01:00
parent 7f82461407
commit 53f204310e
7 changed files with 12 additions and 12 deletions

View File

@@ -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())