mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
@@ -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.Dir()[1:]
|
||||
dataPath := r.FileInfo().Meta().PathInfo.Unmormalized().Dir()[1:]
|
||||
keyParts := strings.Split(dataPath, "/")
|
||||
|
||||
for _, key := range keyParts {
|
||||
|
Reference in New Issue
Block a user