From 995bf00482665e6172d62a60cf7d3c9d92cac18f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 21 Oct 2019 12:16:28 +0200 Subject: [PATCH] Update index.md --- content/en/news/0.59.0-relnotes/index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/en/news/0.59.0-relnotes/index.md b/content/en/news/0.59.0-relnotes/index.md index 1d981f210..1a7552d09 100644 --- a/content/en/news/0.59.0-relnotes/index.md +++ b/content/en/news/0.59.0-relnotes/index.md @@ -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.