--- title: URL description: Returns the URL of the current pager relative to the site root. categories: [] keywords: [] action: related: - methods/page/Paginate returnType: string signatures: [PAGER.URL] --- Use the `URL` method to build navigation between pagers. ```go-html-template {{ $pages := where site.RegularPages "Type" "posts" }} {{ $paginator := .Paginate $pages }} {{ range $paginator.Pages }}

{{ .LinkTitle }}

{{ end }} {{ with $paginator }} {{ end }} ```