diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-02-09 16:17:47 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-02-09 23:35:39 +0300 |
commit | 18888e09bbb5325bdd63f2cd93116ff490dd37ab (patch) | |
tree | c6f5501f79a4fdae5d92056d3abb562e57df13d0 /hugofs/fileinfo.go | |
parent | 1e5eb8679ece0ce8dab3aca6c3267d6a206b790d (diff) |
Fix bundle resource ordering regression
Introduced in Hugo 0.64.0
Fixes #6851
Diffstat (limited to 'hugofs/fileinfo.go')
-rw-r--r-- | hugofs/fileinfo.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugofs/fileinfo.go b/hugofs/fileinfo.go index 0f20ec386..255295b75 100644 --- a/hugofs/fileinfo.go +++ b/hugofs/fileinfo.go @@ -272,7 +272,7 @@ func (fi *dirNameOnlyFileInfo) Sys() interface{} { return nil } -func newDirNameOnlyFileInfo(name string, meta FileMeta, isOrdered bool, fileOpener func() (afero.File, error)) FileMetaInfo { +func newDirNameOnlyFileInfo(name string, meta FileMeta, fileOpener func() (afero.File, error)) FileMetaInfo { name = normalizeFilename(name) _, base := filepath.Split(name) @@ -281,7 +281,7 @@ func newDirNameOnlyFileInfo(name string, meta FileMeta, isOrdered bool, fileOpen m.setIfNotZero(metaKeyFilename, name) } m[metaKeyOpener] = fileOpener - m[metaKeyIsOrdered] = isOrdered + m[metaKeyIsOrdered] = false return NewFileMetaInfo( &dirNameOnlyFileInfo{name: base}, |