hugolib: Make .Site.Sections return the top level sections
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 2 Jul 2017 16:20:14 +0000 (18:20 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 4 Jul 2017 07:11:49 +0000 (09:11 +0200)
commitdd9b1baab0cb860a3eb32fd9043bac18cab3f9f0
tree75094e56a0be7bffb5f7647dc7855f5aa0400a4f
parent1039356edf747f044c989a5bc0e85d792341ed5d
hugolib: Make .Site.Sections return the top level sections

See #3591
hugolib/site_sections.go
hugolib/site_sections_test.go