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/page__meta.go | |
parent | 7f82461407e21ba5b80380d12906fadd12b93e2d (diff) | |
download | hugo-53f204310ec8362d7084c123e8e16f5bb73dd257.tar.gz hugo-53f204310ec8362d7084c123e8e16f5bb73dd257.zip |
all: Rename Unmormalized => Unnormalized
Diffstat (limited to 'hugolib/page__meta.go')
-rw-r--r-- | hugolib/page__meta.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/page__meta.go b/hugolib/page__meta.go index 7b785abb6..34fd096bd 100644 --- a/hugolib/page__meta.go +++ b/hugolib/page__meta.go @@ -195,7 +195,7 @@ func (p *pageMeta) Name() string { return p.resourcePath } if p.pageConfig.Kind == kinds.KindTerm { - return p.pathInfo.Unmormalized().BaseNameNoIdentifier() + return p.pathInfo.Unnormalized().BaseNameNoIdentifier() } return p.Title() } @@ -742,7 +742,7 @@ func (p *pageMeta) applyDefaultValues() error { case kinds.KindHome: p.pageConfig.Title = p.s.Title() case kinds.KindSection: - sectionName := p.pathInfo.Unmormalized().BaseNameNoIdentifier() + sectionName := p.pathInfo.Unnormalized().BaseNameNoIdentifier() if p.s.conf.PluralizeListTitles { sectionName = flect.Pluralize(sectionName) } @@ -754,7 +754,7 @@ func (p *pageMeta) applyDefaultValues() error { panic("term not set") } case kinds.KindTaxonomy: - p.pageConfig.Title = strings.Replace(p.s.conf.C.CreateTitle(p.pathInfo.Unmormalized().BaseNameNoIdentifier()), "-", " ", -1) + p.pageConfig.Title = strings.Replace(p.s.conf.C.CreateTitle(p.pathInfo.Unnormalized().BaseNameNoIdentifier()), "-", " ", -1) case kinds.KindStatus404: p.pageConfig.Title = "404 Page not found" } |