diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-08-17 21:22:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-17 21:22:08 +0300 |
commit | 9029dbf9b5d490e9d9c034d5913049e48a05bd01 (patch) | |
tree | be2d084a0008f0932ce1b869962d7e44a93a5d56 | |
parent | 43382d85ffaeef2a350871401428da783ade9956 (diff) |
Update index.mdv0.57.2
-rw-r--r-- | content/en/news/0.57.2-relnotes/index.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/content/en/news/0.57.2-relnotes/index.md b/content/en/news/0.57.2-relnotes/index.md index adb0ac421..83c349401 100644 --- a/content/en/news/0.57.2-relnotes/index.md +++ b/content/en/news/0.57.2-relnotes/index.md @@ -9,9 +9,9 @@ images: --- -Hugo 0.57.0 had some well intended breaking changes. And while they made a lot of sense, one of them made a little too much noise. +Hugo 0.57.0 had some well-intended breaking changes. And while they made a lot of sense, one of them made a little too much noise. -This release reverts the behaviour for `.Pages` on the home page to how it behaved in 0.56, but adds a `WARNING` telling you what to do to prepare for Hugo 0.58. +This release reverts the behavior for `.Pages` on the home page to how it behaved in 0.56, but adds a `WARNING` telling you what to do to prepare for Hugo 0.58. In short, `.Page` home will from 0.58 only return its immediate children (sections and regular pages). @@ -23,7 +23,6 @@ In this release it returns `.Site.RegularPages`. So to prepare for Hugo 0.58 you {{- $pages := $pctx.RegularPages -}} ``` - * tpl: Use RegularPages for RSS template [88d69936](https://github.com/gohugoio/hugo/commit/88d69936122f82fffc02850516bdb37be3d0892b) [@bep](https://github.com/bep) [#6238](https://github.com/gohugoio/hugo/issues/6238) * hugolib: Don't use the global warning logger [ea681603](https://github.com/gohugoio/hugo/commit/ea6816030081b2cffa6c0ae9ca5429a2c6fe2fa5) [@bep](https://github.com/bep) [#6238](https://github.com/gohugoio/hugo/issues/6238) * tpl: Avoid "home page warning" in RSS template [564cf1bb](https://github.com/gohugoio/hugo/commit/564cf1bb11e100891992e9131b271a79ea7fc528) [@bep](https://github.com/bep) [#6238](https://github.com/gohugoio/hugo/issues/6238) |