mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
hugolib: Make sure that .Site.Taxonomies is always set on rebuilds
Fixes #4838
This commit is contained in:
parent
2e6712e281
commit
6464981adb
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue