1
0
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:
Bjørn Erik Pedersen
2018-06-10 20:53:28 +02:00
parent 2e6712e281
commit 6464981adb

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)