summaryrefslogtreecommitdiffstats
path: root/hugolib/hugo_smoke_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-08-17 12:59:41 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-08-17 13:06:39 +0200
commitab40ce679f1679d76f47652711fc30348a2efafd (patch)
treeac825b6938b43ab4bb0bd395e74d8b1905adf14d /hugolib/hugo_smoke_test.go
parent416493b548a9bbaa27758fba9bab50a22b680e9d (diff)
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.
Diffstat (limited to 'hugolib/hugo_smoke_test.go')
-rw-r--r--hugolib/hugo_smoke_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/hugo_smoke_test.go b/hugolib/hugo_smoke_test.go
index 539e79729..2121738a9 100644
--- a/hugolib/hugo_smoke_test.go
+++ b/hugolib/hugo_smoke_test.go
@@ -193,7 +193,7 @@ Some **Markdown** in JSON shortcode.
b.AssertFileContent("public/index.html",
"home|In English",
"Site params: Rules",
- "Pages: Pages(6)|Data Pages: Pages(6)",
+ "Pages: Pages(18)|Data Pages: Pages(18)",
"Paginator: 1",
"First Site: In English",
"RelPermalink: /",