mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
all: Rename Unmormalized => Unnormalized
This commit is contained in:
@@ -502,7 +502,7 @@ func (h *HugoSites) handleDataFile(r *source.File) error {
|
||||
|
||||
// Crawl in data tree to insert data
|
||||
current = h.data
|
||||
dataPath := r.FileInfo().Meta().PathInfo.Unmormalized().Dir()[1:]
|
||||
dataPath := r.FileInfo().Meta().PathInfo.Unnormalized().Dir()[1:]
|
||||
keyParts := strings.Split(dataPath, "/")
|
||||
|
||||
for _, key := range keyParts {
|
||||
|
Reference in New Issue
Block a user