diff options
Diffstat (limited to 'hugolib/site.go')
-rw-r--r-- | hugolib/site.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hugolib/site.go b/hugolib/site.go index d544cb095..a0390780a 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1296,14 +1296,12 @@ func (s *Site) readAndProcessContent(filenames ...string) error { proc := newPagesProcessor(s.h, sourceSpec) - c := newPagesCollector(sourceSpec, s.h.content, s.Log, s.h.ContentChanges, proc, filenames...) + c := newPagesCollector(sourceSpec, s.h.getContentMaps(), s.Log, s.h.ContentChanges, proc, filenames...) if err := c.Collect(); err != nil { return err } - s.h.content = newPageMaps(s.h) - return nil } |