diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-02-03 15:43:28 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-02-03 16:30:10 +0100 |
commit | 46575baa02562e4ad05c89f4250287413e38627a (patch) | |
tree | 80a33f896a58dd224be332c439dddeaf3083e797 /source | |
parent | 058f230a1be1abaf589b5a194ef6ec12d14c4021 (diff) | |
download | hugo-46575baa02562e4ad05c89f4250287413e38627a.tar.gz hugo-46575baa02562e4ad05c89f4250287413e38627a.zip |
Preserve file/dir name case when loading data
Fixes #11979
Diffstat (limited to 'source')
-rw-r--r-- | source/fileInfo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fileInfo.go b/source/fileInfo.go index 20ddda647..6c67ba407 100644 --- a/source/fileInfo.go +++ b/source/fileInfo.go @@ -130,7 +130,7 @@ func (fi *File) pathToDir(s string) string { } func (fi *File) p() *paths.Path { - return fi.fim.Meta().PathInfo + return fi.fim.Meta().PathInfo.Unmormalized() } func NewFileInfoFrom(path, filename string) *File { |