Download

{{pageUrl}} helper

(Used in pagination)

Helper for creating pagination URLs. Pass @pagination.context and a page number. The helper builds the URL from your domain and URL settings, and for page 1 it returns the URL of the listing without a page number.

Syntax:

{{pageUrl @pagination.context NUMBER}}

Example:

{{pageUrl @pagination.context 4}}

Example output:

https://example.com/page/4

What are you waiting for?

Start building your site today.

  1. 1 Download Publii
  2. 2 Write your content
  3. 3 Publish your site
Create website