shithub: hugo

Download patch

ref: 6464981adb4d7d0f41e8e2c987342082982210a1
parent: 2e6712e2814f333caa807888c1d8a9a5a3c03709
author: Bjørn Erik Pedersen <[email protected]>
date: Sun Jun 10 16:53:28 EDT 2018

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

Fixes #4838

--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -1153,6 +1153,8 @@
 		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)