hugolib: Finish menu vs section content pages
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 20 Feb 2017 08:33:35 +0000 (09:33 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 20 Feb 2017 21:20:02 +0000 (22:20 +0100)
commita3af4fe46e1e1d184538a83bc8375154a9669316
treeed05300e0c60da957067777334ae2cd266e5fe8b
parent2a6b26a7a520bf88af1413f3f00c7e2782abe8cd
hugolib: Finish menu vs section content pages

This commit also fixes the default menu sort when the weight is 0.

Closes #2974
hugolib/hugo_sites_build.go
hugolib/hugo_sites_build_test.go
hugolib/menu.go
hugolib/menu_old_test.go [new file with mode: 0644]
hugolib/menu_test.go
hugolib/page.go
hugolib/site.go
hugolib/taxonomy_test.go
hugolib/testhelpers_test.go