hugolib: Make sure that .Site.Taxonomies is always set on rebuilds

Fixes #4838
This commit is contained in:
Bjørn Erik Pedersen 2018-06-10 20:53:28 +02:00
parent 2e6712e281
commit 6464981adb
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -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)