mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02: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,
|
owner: s.owner,
|
||||||
s: s,
|
s: s,
|
||||||
Config: siteConfig,
|
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)
|
rssOutputFormat, found := s.outputFormats[KindHome].GetByName(output.RSSFormat.Name)
|
||||||
|
Reference in New Issue
Block a user