Fix a more summary corner case
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 18 Oct 2016 06:43:44 +0000 (08:43 +0200)
committerGitHub <noreply@github.com>
Tue, 18 Oct 2016 06:43:44 +0000 (08:43 +0200)
commit67df33d83f0119a95bf250f89cf7af398eb98fb5
tree656d10e6c8766d48fe887babbebc2c7f5956f9b7
parent58f31d2769ec63aa8dfd4eaad47703ce09b57a96
Fix a more summary corner case

Also refactor the rendering pages test to accept more than one page source per test run, which wasn't really needed for this issue, but may be in the future.

Closes #2586
Fixes #2538
hugolib/hugo_sites.go
hugolib/page.go
hugolib/page_test.go