Update index.md

This commit is contained in:
Bjørn Erik Pedersen
2019-10-21 12:16:28 +02:00
committed by GitHub
parent e99758f799
commit 995bf00482
+6
View File
@@ -22,6 +22,12 @@ Another useful addon is the `$pages.Next` and `$pages.Prev` methods on the core
{{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.