hugolib: Enable nested sections

Fixes #465
This commit is contained in:
Bjørn Erik Pedersen
2017-04-09 10:33:04 +02:00
parent bef5048580
commit b39689393c
11 changed files with 633 additions and 181 deletions

View File

@@ -69,7 +69,7 @@ func TestPageCount(t *testing.T) {
cfg.Set("uglyURLs", false)
cfg.Set("paginate", 10)
writeSourcesToSource(t, "content", fs, urlFakeSource...)
writeSourcesToSource(t, "", fs, urlFakeSource...)
s := buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg}, BuildCfg{})
_, err := s.Fs.Destination.Open("public/blue")