mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Fix module mount in sub folder
This addresses a specific issue, but is a also a major simplification of the filesystem file mounts. Fixes #6730
This commit is contained in:
@@ -173,9 +173,7 @@ theme = ["atheme"]
|
||||
filename = filepath.FromSlash(filename)
|
||||
f, err := fs.Open(filename)
|
||||
c.Assert(err, qt.IsNil)
|
||||
name := f.Name()
|
||||
f.Close()
|
||||
c.Assert(name, qt.Equals, filename)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user