mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
hugolib: Make sure that .Site.Taxonomies is always set on rebuilds
Fixes #4838
This commit is contained in:
@ -1153,6 +1153,8 @@ func (s *Site) initializeSiteInfo() error {
|
||||
owner: s.owner,
|
||||
s: s,
|
||||
Config: siteConfig,
|
||||
// TODO(bep) make this Menu and similar into delegate methods on SiteInfo
|
||||
Taxonomies: s.Taxonomies,
|
||||
}
|
||||
|
||||
rssOutputFormat, found := s.outputFormats[KindHome].GetByName(output.RSSFormat.Name)
|
||||
|
Reference in New Issue
Block a user