Skip to content

BlogTagUrl

The BlogTagUrl object extended the Url object and represents a link to the blog tag.

classDiagram
  direction LR
  BlogTagUrl <|-- Url
  class Url{
  }
  class BlogTagUrl{
    BlogTagUrl forPage(int page)
  }

Methods

url.forPage(int page)

BlogTagUrl by calling this method you set the page parameter to the url

source
{{ url.forPage(2) }}
output
/en/n/tag/top/1/page/2

Examples

The forPage() method return the object so you can call relative or absolute properties on it

source
{{ url.forPage(2).absolute }}
output
https://example.com/en/n/tag/top/1/page/2