Revert the 0.57 home.Pages change
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 17 Aug 2019 10:59:41 +0000 (12:59 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 17 Aug 2019 11:06:39 +0000 (13:06 +0200)
commitab40ce679f1679d76f47652711fc30348a2efafd
treeac825b6938b43ab4bb0bd395e74d8b1905adf14d
parent416493b548a9bbaa27758fba9bab50a22b680e9d
Revert the 0.57 home.Pages change

In 0.57 we change the behaviour of home.Pages to be in line with the other sections. This has created a lot noise and breakage in the wild.

This commit reverts that change, but adds a warning that we will change this in 0.58 and that you should consider using .Site.RegularPages if that is what you want.
hugolib/hugo_smoke_test.go
hugolib/page.go