diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-03-20 11:00:08 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-03-20 12:33:05 +0100 |
commit | 19937a20adcce473300445a0013c99c0d1f6d916 (patch) | |
tree | 942fcf76b2d5ab238749d4a7cbed01aa7fb0f916 /hugolib/hugo_sites_build.go | |
parent | c1ea22a232add4c6f371b4278dd3089f102ac15c (diff) | |
download | hugo-19937a20adcce473300445a0013c99c0d1f6d916.tar.gz hugo-19937a20adcce473300445a0013c99c0d1f6d916.zip |
Fix rebuild when changing mixed case named templates
Fixes #12165
Diffstat (limited to 'hugolib/hugo_sites_build.go')
-rw-r--r-- | hugolib/hugo_sites_build.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/hugo_sites_build.go b/hugolib/hugo_sites_build.go index cc8847f55..1399e22d2 100644 --- a/hugolib/hugo_sites_build.go +++ b/hugolib/hugo_sites_build.go @@ -730,7 +730,7 @@ func (h *HugoSites) processPartial(ctx context.Context, l logg.LevelLogger, conf case files.ComponentFolderLayouts: tmplChanged = true - templatePath := pathInfo.TrimLeadingSlash().PathNoLang() + templatePath := pathInfo.Unnormalized().TrimLeadingSlash().PathNoLang() if !h.Tmpl().HasTemplate(templatePath) { tmplAdded = true } |