summaryrefslogtreecommitdiffstats
path: root/hugolib/hugo_sites_build.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-02-20 09:33:35 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-02-20 22:20:02 +0100
commita3af4fe46e1e1d184538a83bc8375154a9669316 (patch)
treeed05300e0c60da957067777334ae2cd266e5fe8b /hugolib/hugo_sites_build.go
parent2a6b26a7a520bf88af1413f3f00c7e2782abe8cd (diff)
hugolib: Finish menu vs section content pages
This commit also fixes the default menu sort when the weight is 0. Closes #2974
Diffstat (limited to 'hugolib/hugo_sites_build.go')
-rw-r--r--hugolib/hugo_sites_build.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/hugolib/hugo_sites_build.go b/hugolib/hugo_sites_build.go
index 2715e8977..ce2c3b941 100644
--- a/hugolib/hugo_sites_build.go
+++ b/hugolib/hugo_sites_build.go
@@ -167,6 +167,7 @@ func (h *HugoSites) assemble(config *BuildCfg) error {
}
for _, s := range h.Sites {
+ s.assembleMenus()
s.refreshPageCaches()
s.setupSitePages()
}