Download

{{#isCurrentPage}} helper

(Used in pagination)

Helper for checking if a given page number is a current page.

Syntax:

{{#isCurrentPage @pagination.currentPage NUMBER}}
   If current pagination page is equal to NUMBER
{{else}}
   If current pagination page is not equal to NUMBER
{{/isCurrentPage}}

Example:

{{#isCurrentPage @pagination.currentPage 5}}

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