mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 16:46:23 -04:00
Update index.md
This commit is contained in:
parent
43382d85ff
commit
9029dbf9b5
@ -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).
|
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 -}}
|
{{- $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)
|
* 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)
|
* 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)
|
* 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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user