mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 16:34:46 -04:00
Update index.md
This commit is contained in:
parent
e99758f799
commit
995bf00482
@ -22,6 +22,12 @@ Another useful addon is the `$pages.Next` and `$pages.Prev` methods on the core
|
|||||||
{{with .Site.RegularPages.Next . }}{{.RelPermalink}}{{end}}
|
{{with .Site.RegularPages.Next . }}{{.RelPermalink}}{{end}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The above is a functionally equivalent (but slightly slower) variant of:
|
||||||
|
|
||||||
|
```
|
||||||
|
{{with .Next }}{{.RelPermalink}}{{end}}
|
||||||
|
```
|
||||||
|
|
||||||
See [Pages Methods](https://gohugo.io/variables/pages/) for more information.
|
See [Pages Methods](https://gohugo.io/variables/pages/) for more information.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user