mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-27 22:09:53 +02:00
all: Rename Unmormalized => Unnormalized
This commit is contained in:
@@ -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())
|
||||
|
||||
|
Reference in New Issue
Block a user