mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-28 22:50:35 +03:00
parent
cf7023cb90
commit
b8ab5c9be6
2 changed files with 25 additions and 2 deletions
|
@ -195,9 +195,9 @@ func (c *pagesCollector) collectDir(dirPath *paths.Path, isDir bool, inFilter fu
|
|||
var dpath string
|
||||
if dirPath != nil {
|
||||
if isDir {
|
||||
dpath = filepath.FromSlash(dirPath.Path())
|
||||
dpath = filepath.FromSlash(dirPath.Unnormalized().Path())
|
||||
} else {
|
||||
dpath = filepath.FromSlash(dirPath.Dir())
|
||||
dpath = filepath.FromSlash(dirPath.Unnormalized().Dir())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue