summaryrefslogtreecommitdiffstats
path: root/hugolib/site_new.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/site_new.go')
-rw-r--r--hugolib/site_new.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/hugolib/site_new.go b/hugolib/site_new.go
index debb81e77..2e8933497 100644
--- a/hugolib/site_new.go
+++ b/hugolib/site_new.go
@@ -165,14 +165,7 @@ func NewHugoSites(cfg deps.DepsCfg) (*HugoSites, error) {
treeTaxonomyEntries: doctree.NewTreeShiftTree[*weightedContentNode](doctree.DimensionLanguage.Index(), len(confm.Languages)),
}
- pageTrees.treePagesResources = doctree.WalkableTrees[contentNodeI]{
- pageTrees.treePages,
- pageTrees.treeResources,
- }
-
- pageTrees.resourceTrees = doctree.MutableTrees{
- pageTrees.treeResources,
- }
+ pageTrees.createMutableTrees()
for i, confp := range confm.ConfigLangs() {
language := confp.Language()