diff options
Diffstat (limited to 'hugolib/fileInfo.go')
-rw-r--r-- | hugolib/fileInfo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/fileInfo.go b/hugolib/fileInfo.go index b146aede9..f819f6bfc 100644 --- a/hugolib/fileInfo.go +++ b/hugolib/fileInfo.go @@ -57,7 +57,7 @@ func (fi *fileInfo) isContentFile() bool { func newFileInfo(sp *source.SourceSpec, baseDir, filename string, fi os.FileInfo, tp bundleDirType) *fileInfo { - baseFi := sp.NewFileInfo(baseDir, filename, fi) + baseFi := sp.NewFileInfo(baseDir, filename, tp == bundleLeaf, fi) f := &fileInfo{ bundleTp: tp, ReadableFile: baseFi, |